Explanation:
• x: number of pizzas
,• y: number of drinks
We can write a system of equations for this problem:
[tex]\begin{cases}x+y=20 \\ 5x+2y=46\end{cases}[/tex]We can use the substitution method and clear y from the first equation, replace it into the second equation and solve for x:
[tex]\begin{gathered} x+y=20 \\ y=20-x \end{gathered}[/tex]Replacing into the second equation:
[tex]\begin{gathered} 5x+2y=46 \\ 5x+2(20-x)=46 \\ 5x+40-2x=46 \\ 3x+40=46 \end{gathered}[/tex]And solving for x:
[tex]\begin{gathered} 3x=46-40 \\ 3x=6 \\ x=\frac{6}{3}=2 \end{gathered}[/tex]Answer:
Ms. Doyle bought 2 pizzas