Question 1103535
total sold 210
total sales 660
product sold at 5 and 2
g +p =210,
5*g +2*p =660
g =210-p
We have two equations with two variables.
We will substitute to make one equation with one variable
5*(210-p )+2*p =660
1050-5p +2*p =660
-3*p =-390
p =130
g =210-p
g =80 at $5 and  p =130 at $2
check
80+130=210
5*g +2*p =660
5*80+2*130=660
400+260=660
660=660
ok
codetickv