Assume they bought small pizzas for $3 and large pizzas for $5. Then we can write a system of equations:
Solve by subtraction. Multiply both sides of the first equation by 5:
Subtract the left side of the second from the left side of first, do this for the right sides:
We've got simple equation for :
Substitute this to the first one and find :
75 small pizzas and 50 large ones.
Comments