Do you like candy? Take a look at this yummy dilemma.

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.

If this is the case, what is the unknown amount of candy?

Do you know how to solve this problem? Write an equation and then solve it for the unknown amount of candy. Pay attention and you will see this dilemma at the end of the Concept.

### Guidance

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 : *

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, subtract the like terms— and —on the left side of the equation.

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

Now, divide both sides of the equation by 9.

**The value of is 2.**

Here is another one.

*Solve for : *

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, and , you will need to use what you know about adding integers. To review how to add and subtract integers, look back at Lesson 2.5.

Finally, 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.

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

**The value of is -3.**

#### Example A

**Solution: **

#### Example B

**Solution: **

#### Example C

**Solution: **

Now let's go back to the dilemma from the beginning of the Concept.

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.

First, write an equation. Break down the problem a piece at a time. We will use for the unknown amount of candy given.

This is our equation.

Now solve the equation by first getting rid of the parentheses.

Next, combine like terms.

Now subtract six from both sides of the equation.

**The unknown amount of candy was two pieces.**

### Vocabulary

- Like Terms
- terms that include a common variable.

- Commutative Property of Addition
- states that the order that you add different numbers does not change the sum.

- Associative Property of Addition
- states that you can change the groupings of numbers being added without changing the sum.

- Distributive Property
- states that you can multiply a term outside of a set of parentheses with the terms inside the parentheses to simplify the set of parentheses.

### Guided Practice

Here is one for you to try on your own.

Solve for .

**Solution**

First, distribute the three and get rid of the parentheses.

Now combine like terms.

Combine again because there are many terms to combine in this problem.

Next subtract three from both sides of the equation.

**This is our answer.**

### Video Review

Khan Academy Solving Linear Equations 2

### Practice

Directions: Distribute and combine like terms and then solve each equation.