71.5k views
5 votes
Sally bought a soft drink for $3 and seven candy bars. She spent a total of $31. How much did each candy bar cost?

User Vancexu
by
7.7k points

1 Answer

6 votes

Answer:

We can start by using algebra to represent the given information in the problem in terms of variables. Let x be the cost of each candy bar. Then we can write the following equation:

3 + 7x = 31

This equation states that the total cost of the soft drink and the candy bars is $31, and the cost of the candy bars is 7 times the cost of each candy bar.

Now we can solve for x, the cost of each candy bar:

3 + 7x = 31

7x = 31 - 3

7x = 28

x = 28/7

x = 4

Each candy bar cost $4.

We can also check this by substituting this value back into the original equation to see if it is true:

3 + 7(4) = 31

3 + 28 = 31

31 = 31

This confirms that the cost of each candy bar is $4.

Explanation:

User Localghost
by
8.0k points