Answer:
- x+y=7; 2.5x+3.5y=21.5
- (x, y) = (3, 4)
Explanation:
Perhaps you want a system of equations and their solution.
You have defined the variables, so you just need to write the relationships.
x + y = 7 . . . . we assume one order per person
2.50x + 3.50y = 21.50 . . . . we assume Ahmed collected just enough
__
Multiplying the first equation by 2.5 and subtracting that from the second equation, we get ...
(2.50x +3.50y) -2.5(x +y) = (21.50) -2.5(7)
y = 4
x = 7 -4 = 3
There were 3 pizza orders and 4 sandwich orders.