Pratham M. answered 12/16/22
tutor for elementary through middle school
Sodas are $2 and hotdogs are $3. They sold 30 more sodas than hotdogs. The total amount of money was $180. How many sodas were sold?
lets first state givens:
h = number hotdogs sold
s = number sodas sold
we know they sold 30 more sodas than hotdogs so:
h + 30 = s
we also know that hots are 2 dollars and sodas are 3 dollars each and that the total money made was 180 dollars so:
3h + 2s = 180
now we can plug h+30 for s since we said h+30 = s
3h+2(h+30) = 180
now simplify
3h+2h+60 = 180
5h + 60 = 180
5h = 120
h = 24
now we plug in 18 for h in our s equation:
h+30 = s
24+30 = s
54 = s
54 sodas were sold.