26.3k views
1 vote
You bought a magazine for $3 and some candy bars for $2 each. You spent a total of $19. How many candy bars did you dobuy?Can yuu solve it for me

1 Answer

5 votes

Let's use the variable 'x' to represent the number of candy bars bought.

If we bought one magazine for $3 and x candy bars for $2 each, we can write the equation for the total cost:


19=3+x\cdot2

Now, solving it for x, we have:


\begin{gathered} 19-3=2x \\ 2x=16 \\ x=(16)/(2) \\ x=8 \end{gathered}

So we bought 8 candy bars.

User Sean Shi
by
4.8k points