During a baseball game, a food stand sells popcorn for $2.50 and hotdogs for $3 each. If at the end of the game, the stand made $200 and sold twice as many bags of popcorn as hotdogs, how many bags of popcorn and hotdogs did the stand sell?

Respuesta :

Let
x-------> bags of popcorn
y-------> bags of hotdogs

we know that
2.50x+3y=200-------> equation 1
x=2y--------> equation 2

substitute 2 in 1

2.50*[2y]+3y=200--------> 5y+3y=200------> 8y=200-----> y=200/8
y=25
x=2y-----> x=2*25-----> x=50

the answer is
50 bags of popcorn
25 bags of hotdogs