Answer: the number of hotdogs that were sold is 35
the number of orders of fries is 52
Explanation:
Let x represent the number of hotdogs that were sold.
Let y represent the number of orders of fries.
You sold a total of 87 hotdogs and orders of fried combined. This means that
x + y = 87
Each hot dog costs 1.50 and each order of fries costs 0.50. At the end of the night you made a whopping $78.50! This means that
1.5x + 0.5y = 78.5 - - - - - - - - - - -1
Substituting x = 87 - y into equation 1, it becomes
1.5(87 - y) + 0.5y = 78.5
130.5 - 1.5y + 0.5y = 78.5
- 1.5y + 0.5y = 78.5 - 130.5
- y = - 52
y = 52
Substituting y = 52 into x = 87 - y, it becomes
x = 87 - 52
x = 35