Not sure about the first one. But I think I got the second one for you.
Basically, you multiply and divide by the same thing. In the case of making the denominator (lower part of the fraction) simple, you multiply both nominator and denominator with
Edit: Wait, you sure the book says for the answer?