Maya buys cookies and muffins for a class party. She buys a total of 10 baked treat...
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
x + y = 10; 2x + 3y = 24
2(10 - y) + 3y = 24
20 + y = 24 => y = 4
x = 10 - 4 = 6
Let $x$ be the number of cookies and $y$ be the number of muffins. We have the system $x + y = 10$ and $2x + 3y = 24$. Substituting $x = 10 - y$ into the second equation gives $2(10 - y) + 3y = 24$, so $20 - 2y + 3y = 24$, which simplifies to $y = 4$. Then $x = 10 - 4 = 6$.