Step-by-step explanation:
• x: number of pizzas
,
• y: number of drinks
We can write a system of equations for this problem:

We can use the substitution method and clear y from the first equation, replace it into the second equation and solve for x:

Replacing into the second equation:

And solving for x:

Answer:
Ms. Doyle bought 2 pizzas