Casey orders 3 pizzas and 2 orders of bread sticks for a total of $42.00. Rachel orders 2 pizzas and 1 order of bread sticks for a total of $26.00. How much does an order of bread sticks cost?

Respuesta :

Let "x" represent the cost of one pizza and "y" represent the cost of one bread stick order.

Casey: ordered 3 pizzas and 2 orders of bread sticks for a total of $42

You can express the total cost of her order as an equation

[tex]3x+2y=42[/tex]

Rachel ordered 2 pizzas and 1 order of bread sticks for a total of $26, the equation that expresses her total cost is

[tex]2x+y=26[/tex]

With this we have established an equation system with two variables.

Rewrite the second equation in terms of y

[tex]\begin{gathered} 2x+y=26 \\ y=26-2x \end{gathered}[/tex]

Replace the result in the first equation

[tex]\begin{gathered} 3x+2y=42 \\ 3x+2(26-2x)=42 \end{gathered}[/tex]

Solve for x

[tex]\begin{gathered} 3x+2\cdot26-2\cdot2x=42 \\ 3x+52-4x=42 \\ 3x-4x=42-52 \\ -x=-10 \\ x=10 \end{gathered}[/tex]

x=$10 now that we know the value of x, we can calculate the value of y as:

[tex]\begin{gathered} y=26-2x \\ y=26-2\cdot10 \\ y=26-20 \\ y=6 \end{gathered}[/tex]

y=$6

This means that each order of bread sticks costs $6