16.8k views
4 votes
Landon spent $23 on a magazine and some candy bars. If the magazine cost $5 and each candy bar cost $3, then how many candy bars did she buy?

User Kasterma
by
7.9k points

1 Answer

3 votes

Answer: Let's use algebra to solve the problem.

Let x be the number of candy bars Landon bought. We know that:

The cost of the magazine is $5.

The cost of x candy bars is 3x dollars.

The total cost is $23.

We can use these pieces of information to set up an equation:

5 + 3x = 23

Subtracting 5 from both sides, we get:

3x = 18

Dividing both sides by 3, we get:

x = 6

Therefore, Landon bought 6 candy bars.

Explanation:

User Tyquan
by
7.8k points