Eight children were given some candy. Then six different children were given the same unknown amount of candy. Next, two children were that same unknown amount of candy plus three additional pieces of candy. The total number of pieces of candy given out was thirty eight. What is the unknown amount of candy?

In this concept, you will learn to solve equations with the distributive property and combining.

**Distributive Property and Combining Like Terms**

To solve some multi-step equations you will need to use the distributive property and combine like terms. When this happens, you will see that there is more than one term with the same variable or there is more than one number in the equation. You always want to combine everything that you can before moving on to solving the equation.

Let‘s apply this to the following situation.

Solve for “” in the following equation.

First, apply the distributive property to the left side of the equation. Multiply each of the two numbers inside the parentheses by 6 and then add those products.

Next, combine like terms (

and ) on the left side of the equation.

Then, solve as you would solve any two-step equation. Subtract 6 from both sides of the equation.

Then, divide both sides of the equation by 9 to solve for

.

The answer is 2.

Here is another example.

Solve for “” in the following equation.

First, apply the distributive property to the left side of the equation. Multiply each of the two numbers inside the parentheses by -4 and then add those products.

Next, add the like terms on the left side of the equation. To add those like terms, integers.

and , you will need to use what you know about adding

Then, solve as you would solve any two-step equation. Since -8 is added to

, you can subtract -8 from both sides of the equation to solve it.

Then, divide both sides of the equation by -7.

The answer is -3.

### Examples

#### Example 1

Earlier, you were given a problem about eight children who were given some candy. You will let “” represent the unknown amount of candy given.

Six of the eight children were given the same unknown amount of candy

and two of the children were that same unknown amount of candy plus three additional pieces of candy . The total number of pieces of candy given out was thirty eight.First, write an equation.

First, apply the distributive property to the left side of the equation.

Next, add the like terms on the left side of the equation.

Then, subtract 6 from both sides.

Then, divide both sides of the equation by 8.

The answer is 4.

Therefore, the unknown amount of candy is 4 pieces. Six of the children got 4 pieces of candy and two of the children received 7 pieces of candy.

#### Example 2

Solve for “

in the following equation.

First, apply the distributive property to the left side of the equation.

Next, add the like terms on the left side of the equation.

Then, subtract 3 from both sides.

Then, divide both sides of the equation by -6.

The answer is -7.

#### Example 3

Solve for “

” in the following equation.

First, apply the distributive property to the left side of the equation.

Next, add the like terms on the left side of the equation.

Then, subtract 22 from both sides.

Then, divide both sides of the equation by 9.

The answer is 4.

#### Example 4

Solve for “

” in the following equation.

First, apply the distributive property to the left side of the equation.

Next, add the like terms on the left side of the equation.

Then, add 12 to both sides.

Then, divide both sides of the equation by 9.

The answer is 5.

#### Example 5

Solve for “

” in the following equation.

First, apply the distributive property to the left side of the equation.

Next, add the like terms on the left side of the equation.

Then, subtract 21 from both sides.

Then, divide both sides of the equation by 19.

The answer is 1.

**Review**

Distribute and combine like terms and then solve each equation.