MathQuizily ranked #372 in TIME and Statista's World's Top EdTech Companies 2026.Read the announcement
Algebra · Grades 6–9
Two-Step Equations: Method, Examples and Printable Test
A two-step equation needs two inverse operations to isolate the variable. The arithmetic is easy; the part students get wrong is the order, because you undo the operations in the reverse of the order they were applied.
Two-Step Equations formula
ax + b = c → x = (c − b) ÷ a
Read the equation as a set of instructions applied to x: first multiply by a, then add b. To undo it, reverse the list and reverse each operation, so subtract b first and then divide by a. Whatever you do to one side, you do to the other.
x
The unknown you are solving for
a
The coefficient multiplying the variable
b
The constant added or subtracted
c
The value the expression equals
Worked examples
Example 1: Multiply then add
Solve 2x + 5 = 17.
1The 5 was added last, so remove it first: subtract 5 from both sides.
2This gives 2x = 12.
3The x was multiplied by 2, so divide both sides by 2.
4This gives x = 6. Check: 2 × 6 + 5 = 17 ✓
Answer: x = 6
Example 2: A negative coefficient
Solve −3x + 7 = 1.
1Subtract 7 from both sides: −3x = −6.
2Divide both sides by −3.
3A negative divided by a negative is positive: x = 2.
4Check: −3 × 2 + 7 = −6 + 7 = 1 ✓
Answer: x = 2
Example 3: Brackets outside
Solve 3(x − 2) = 15.
1The whole bracket is multiplied by 3, so divide both sides by 3 first.
2This gives x − 2 = 5.
3Add 2 to both sides: x = 7.
4Check: 3 × (7 − 2) = 3 × 5 = 15 ✓
Answer: x = 7
Two-Step Equations practice questions with answers
Work through these in order. Each answer opens to show the full method, so you can check your reasoning rather than just your final number.
Question 1easy
Solve: 2x + 3 = 11
Show answer and worked solution
Answer: x = 4
Subtract 3: 2x = 8. Divide by 2: x = 4.
Question 2easy
Solve: 5x − 4 = 16
Show answer and worked solution
Answer: x = 4
Add 4: 5x = 20. Divide by 5: x = 4.
Question 3easy
Solve: 3x + 9 = 24
Show answer and worked solution
Answer: x = 5
Subtract 9: 3x = 15. Divide by 3: x = 5.
Question 4easy
Solve: x/2 + 1 = 6
Show answer and worked solution
Answer: x = 10
Subtract 1: x/2 = 5. Multiply by 2: x = 10.
Question 5medium
Solve: −2x + 8 = 2
Show answer and worked solution
Answer: x = 3
Subtract 8: −2x = −6. Divide by −2: x = 3.
Question 6medium
Solve: 4(x + 1) = 20
Show answer and worked solution
Answer: x = 4
Divide by 4: x + 1 = 5. Subtract 1: x = 4.
Question 7medium
Solve: 7 − 2x = 1
Show answer and worked solution
Answer: x = 3
Subtract 7: −2x = −6. Divide by −2: x = 3.
Question 8hard
Solve: x/3 − 4 = −1
Show answer and worked solution
Answer: x = 9
Add 4: x/3 = 3. Multiply by 3: x = 9.
Question 9hard
A taxi charges $3 plus $2 per mile. A trip cost $17. How many miles?
Show answer and worked solution
Answer: 7 miles
2m + 3 = 17. Subtract 3: 2m = 14. Divide by 2: m = 7 miles.
Question 10hard
Solve: 2(3x − 1) = 16
Show answer and worked solution
Answer: x = 3
Divide by 2: 3x − 1 = 8. Add 1: 3x = 9. Divide by 3: x = 3.
Turn this into a printable test
Generate a two-step equations test at the grade and difficulty you need, with a complete worked answer key and equivalent versions for retakes.
In 2x + 5 = 17, the expression was built by taking x, multiplying by 2, then adding 5. Solving means dismantling it, and you dismantle in the opposite order to how it was built: remove the 5 first, then the 2. This mirrors taking off shoes before socks, and stating it that plainly helps more students than any acronym does.
Once students see solving as undoing a list of instructions in reverse, three-step and four-step equations need no new teaching. They also stop guessing which operation to do first, which is where nearly all of the lost marks in this topic come from.
Brackets change the order
In 3(x − 2) = 15 the bracket was formed first and the multiplication applied to the whole of it, so dividing by 3 is the correct opening move. Students who expand first will get 3x − 6 = 15 and reach the same answer, which is fine, but it takes an extra line and creates an extra chance to lose a sign.
The rule worth teaching is that if the bracket is multiplied by a number that divides the right-hand side cleanly, divide first. If it does not divide cleanly, expand. Both routes are valid, and choosing deliberately is faster than always doing the same thing.
Common mistakes with two-step equations
✗ Dividing before undoing the addition, for example dividing 2x + 5 = 17 by 2 to get x + 5 = 8.5.
✓ Dividing must apply to every term. Remove the constant first, or divide all three terms consistently.
✗ Applying an operation to only one side of the equation.
✓ An equation is a balance. Whatever you do to the left must be done to the right, every time.
✗ Losing the sign when dividing by a negative coefficient.
✓ Dividing a negative by a negative gives a positive. Write the division out rather than doing it mentally.
✗ Never checking the solution.
✓ Substituting the answer back takes ten seconds and catches almost every arithmetic slip.
Two-Step Equations FAQ
What is a two-step equation?
An equation that needs two inverse operations to isolate the variable, such as 2x + 5 = 17, where you subtract 5 and then divide by 2.
Which step do you do first?
Undo the addition or subtraction first, then the multiplication or division. You reverse the order in which the operations were applied.
How do you solve a two-step equation with brackets?
Either divide both sides by the number outside the bracket, or expand the bracket first. Dividing is quicker when it divides the other side cleanly.
How do you check a two-step equation answer?
Substitute your solution back into the original equation. If both sides give the same value, the answer is correct.
What if the coefficient is negative?
Solve exactly the same way. When you divide both sides by a negative number, remember that a negative divided by a negative gives a positive.