Final answer:
To find the cost of a hamburger and an order of fries, we can set up a system of equations and solve them. The cost of a hamburger is $2.50, and the cost of an order of fries is $2.a) The cost of hamburgers and fries is analyzed.
Step-by-step explanation:
To find the cost of a hamburger and an order of fries, we can set up a system of equations using the given information. Let's assume the cost of a burger is 'x' dollars and the cost of an order of fries is 'y' dollars.
From Gabe's purchase, we can write the equation: 2x + 3y = 12.25. From Andrew's purchase, we can write the equation: 5x + 2y = 21.
Solving this system of equations, we find that a burger costs $2.50 and an order of fries costs $2.