Allday Education

Equations with Variables on Both Sides (cont)

Once you can solve 6x+12=4x+226x + 12 = 4x + 22, the next level is the same equation wearing a disguise: 3(2x+4)=4x+223(2x + 4) = 4x + 22. Parentheses on one or both sides don't change the strategy — they just add one job to the front of it. Distribute first, then it's an equation you already know how to solve.

The full order of operations for these problems: distribute, combine like terms on each side, gather the variables onto one side, then finish with the usual two steps. Every equation in this lesson follows that exact script.

Distribute first, then gather

If an equation has parentheses, distribute before anything else. In 3(2x+4)=4x+223(2x + 4) = 4x + 22, multiplying through gives 6x+12=4x+226x + 12 = 4x + 22. Now the parentheses are gone and it's a standard variables-on-both-sides problem.

To gather the variables, subtract one of the variable terms from both sides. Subtracting the smaller one — here 4x4x — keeps the remaining coefficient positive: 2x+12=222x + 12 = 22. Then subtract 1212 and divide by 22 to get x=5x = 5.

Distributing a negative

The equation 3(x2)=2x4-3(x - 2) = 2x - 4 hides the most common error in this topic. Distributing 3-3 flips both signs inside: 3x+6-3x + 6, not 3x6-3x - 6. A negative outside the parentheses changes the sign of every term inside.

After distributing, the solve is routine: 3x+6=2x4-3x + 6 = 2x - 4. Add 3x3x to both sides to get 6=5x46 = 5x - 4, add 44 to get 10=5x10 = 5x, and divide by 55: x=2x = 2.

Parentheses on both sides

Some equations distribute on both sides, like 4(2x1)=3(x+7)4(2x - 1) = 3(x + 7). Handle each side independently — left becomes 8x48x - 4, right becomes 3x+213x + 21 — and then gather as usual.

Whatever the equation looks like, the finish line is the same: variable terms on one side, plain numbers on the other, one division at the end.

Worked examples

Example 1: distribute on one side

Solve 3(2x+4)=4x+223(2x + 4) = 4x + 22.

Start with the equation3(2x+4)=4x+223(2x + 4) = 4x + 22
Distribute the 336x+12=4x+226x + 12 = 4x + 22
Subtract 4x4x from both sides2x+12=222x + 12 = 22
Subtract 1212 from both sides2x=102x = 10
Divide both sides by 22x=5x = 5

Answer: x=5x = 5

Example 2: distribute a negative

Solve 3(x2)=2x4-3(x - 2) = 2x - 4.

Start with the equation3(x2)=2x4-3(x - 2) = 2x - 4
Distribute the 3-3 — both signs inside flip3x+6=2x4-3x + 6 = 2x - 4
Add 3x3x to both sides6=5x46 = 5x - 4
Add 44 to both sides10=5x10 = 5x
Divide both sides by 55x=2x = 2

Answer: x=2x = 2

Example 3: distribute on both sides

Solve 4(2x1)=3(x+7)4(2x - 1) = 3(x + 7).

Start with the equation4(2x1)=3(x+7)4(2x - 1) = 3(x + 7)
Distribute on each side8x4=3x+218x - 4 = 3x + 21
Subtract 3x3x from both sides5x4=215x - 4 = 21
Add 44 to both sides5x=255x = 25
Divide both sides by 55x=5x = 5

Answer: x=5x = 5

Try one yourself

Common questions

Which side should I move the variable to?

Either side works, but moving the smaller variable term keeps the coefficient positive, which means fewer sign mistakes. In 6x+12=4x+226x + 12 = 4x + 22, subtract 4x4x rather than 6x6x.

Do I have to distribute first? Can I divide both sides instead?

Sometimes dividing works — in 3(2x+4)=303(2x + 4) = 30 you could divide both sides by 33. But if the other side doesn't divide cleanly, or there are variable terms on it, distributing is the move that always works. When in doubt, distribute.

What if I get the variable on the right, like 10=5x10 = 5x?

That's fine. 10=5x10 = 5x and 5x=105x = 10 say the same thing. Divide by 55 and you have x=2x = 2 either way.

How do I check my answer?

Substitute it into the original equation — parentheses and all — and simplify each side separately. If both sides land on the same number, the solution is correct.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1