← All guides

How to solve two-step equations

Two-step equations like 4x + 7 = 31 undo in reverse order: subtract first, then divide. Worked examples with negatives and fractions.

Video lesson: Two-step equations (free, with subtitles)

A two-step equation does two things to x, like "multiply by 4, then add 7". To find x, undo them in reverse order, the way you take off your shoes before your socks.

Example 1

Solve 4x + 7 = 31.

Check: 4(6) + 7 = 24 + 7 = 31 ✓

Example 2: a negative number in front

Solve −3x + 5 = 20. Subtract 5: −3x = 15. Divide by −3: x = −5. Check: −3(−5) + 5 = 15 + 5 = 20 ✓.

Example 3: a fraction

Solve x/5 − 2 = 4. Add 2: x/5 = 6. Multiply by 5: x = 30. Check: 30/5 − 2 = 6 − 2 = 4 ✓.

Why this order?

In 4x + 7, x was multiplied first and the 7 was added last. The last thing done is the first thing undone. If you divide by 4 first, you must divide everything, including the 7, which makes fractions you didn't need.

Common mistakes

Practice it free

Watch the full lesson and try questions with new numbers every time, with the worked steps shown if you get one wrong.

Practice: Two-step equations All courses