I have this problem:

I'm able to get to this part by myself:

But that's when I get stuck. The book says that the next step is:

But I don't understand why you can take the 2 out of the original fraction, make it the numerator of its own fraction and having root of 2 as the denominator of said fraction.