Harder rearranging: when the subject appears twice
When the letter you want appears in two places, gather both onto one side and factorise it out.
The method
2. Expand brackets.
3. Collect every term containing the subject on one side, everything else on the other.
4. Factorise out the subject.
5. Divide by the bracket.
Example
Multiply by (x − 3): y(x − 3) = x + 2
Expand: xy − 3y = x + 2
Collect x terms: xy − x = 3y + 2
Factorise: x(y − 1) = 3y + 2
Divide: x = (3y + 2)(y − 1)
Powers and roots
Square both sides: y2 = (x + a)b
Multiply by b: by2 = x + a
x = by2 − a
Do the opposite operations in the reverse order.
Make x the subject of 3x + a = bx + 5.
- Collect x terms on the left: 3x − bx = 5 − a
- Factorise: x(3 − b) = 5 − a
- Divide: x = (5 − a)(3 − b)
Answer: x = (5 − a)(3 − b)
Get every subject term on one side, factorise the subject out, then divide by the bracket.
- Factorise
- Write an expression as a product by taking out common factors or putting it into brackets.
- Term
- A single number, letter or product of them in an expression, such as 5x or −3.
All GCSE and International GCSE Mathematics key terms and definitions →
Try two quick questions
See if it has sunk in. Answers are marked straight away.
2 more questions
Try each one, then tap to check.
y = (x + 4)(x − 6). Find x when y = 2.
Show the answer
Answer: 16
2(x − 6) = x + 4, so 2x − 12 = x + 4 and x = 16.
In ax + 3 = bx + 7, what is the first step to make x the subject?
- Factorise the 7
- Divide both sides by a
- Subtract 3 from the left side only
- Collect the x terms on one side: ax − bx = 4
Show the answer
Answer: Collect the x terms on one side: ax − bx = 4
Get all x terms together, then factorise and divide.
Check you have got it
Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.
- Pearson Edexcel GCSE Mathematics (1MA1) specification, topic A5
- Pearson Edexcel International GCSE Mathematics (4MA1) specification, topic 2.3
Checked by the GCSE-ready editorial team, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.