John bought a total of 12 bags of candy for Halloween.

Each bag of candy was either a bag of Snickers or a bag of Milky Way bars.
He spent $4 on each bag of Snickers.
He spent $5 on each bag of Milky Way bars.
John spent a total of $58.
How many more bags of Snickers than Milky Way bars did John purchase?

Respuesta :

Answer:

John bought 2 Snickers bags and 10 Milky Way bags.

Step-by-step explanation:

Let x be number of Snickers bags. Let y be number of Milky Way bags.

Systems of Equations:

4x+5y=58

x+y=12

4x+5y=58

y=-x+12

4x+5(-x+12)=58

4x-5x+60=58

-x=-2

x=2

12-2=10