Data:
cost of cheese pizza: x
cost of mushroom pizza: y
Jack bought 3 slices of cheese pizza and 4 slices of mushroom pizza for a total cost of $12.50
Grace bought 3 slices of cheese pizza and 2 slices of mushroom pizza for a total cost of $8.50:
System of equations: