In order to determine the number of nachos and lemonade sold, you first write the given situation in an algebraic way.
If x is the number of nachos and y the number of lemonades, then, you have:
2.50x + 2.25y = 112.50 cost of the nachos and lemonade sold
x + y = 94 nachos and lemonade sold
Next, solve the previous system.
Multiply the second equation by 2.50. Next, subtract the equation to the first one:
(x + y = 94)(2.50)
2.50x + 2.50y = 235
2.50x + 2.25y = 112.50
-2.50x - 2.50y = -235
-0.25y = -122.5
solve the previous equation for y:
y = -122.5/(-0.25)
y = 490
Next, replace the previous value of y into the expression x + y = 94 and solve for x:
x + y = 94
x + 490 =