We are going to need to define some terms for this. Let's say the price of burgers is defined by x and the price of small fries is defined by y.
Next, we are to set some equations up. Since Alicia bought 2 burgers and 3 small fries, which totaled out for $21.18, the equation is 2x + 3y = 21.18. Since Jack bought 4 burgers and 2 small fries for $29.56, the equation will be 4x + 2y = 29.56.
Now that we set up the equations for this problem, we are to either solve for x or for y. Let's solve for y. Let's start with Alicia:
2x + 3y = 21.18
3y = 21.18 - 2x
y = 7.06 - (2/3)x
Now that we solved for y, let's plug the answer in for x for the second equation:
4x + 2y = 29.56
4x + 2(7.06 - (2/3)x) = 29.56
4x + 14.12 - (4/3)x = 29.56
(8/3)x + 14.12 = 29.56
(8/3)x = 29.56
x = 5.79
We have now solved for x, which means we found out how much burgers cost, which is $5.79. We now plug x back in the equation y = 7.06 - (2/3)x as follows:
y = 7.06 - (2/3)x
y = 7.06 - (2/3)(5.79)
y = 7.06 - 3.86
y = 3.20
We have now solved for y as well, which means we found out how much small fries cost, which is $3.20.
Therefore, one burger costs $5.79 and one small fry costs $3.20.
Julie P.
01/21/21