Sam bought 25 hamburgers and hotdogs
b + h = 25
also
25 -b = h
Sam spent $70.50
3b + 2.5h = $70.50
Let's substitute 25 -b for in the above equation
3b + 2.5(25-b) = 70.50
3b + 62.5 - 2.5b = 70.50
b + h = 25
also
25 -b = h
Sam spent $70.50
3b + 2.5h = $70.50
Let's substitute 25 -b for in the above equation
3b + 2.5(25-b) = 70.50
3b + 62.5 - 2.5b = 70.50
.5b = 8
b = 16
since h = 25 -b
h = 25 - 16
h = 9
Let's check our work
h = 9*2.5 = $22.50
b = 16 * 3 = $48.00
h + b = $70.50
How many hotdogs did Sam buy?