Looking through my notes for a maths exam tomorrow I can't figure out the jump from one step to another:

The original question is Solve:

now further down the steps I can't figure out how it jumps from:

to

What I want to know is how you get from the to the and what happens to the

Thanks