This is for my trigonometry class but it's only a small portion of a bigger problem so I'm posting it here. Here is a picture of my issue:

http://i.imgur.com/cfxLe.png

How can I get that final answer? I know to rationalize a denominator I have to multiply both sides by the bottom radical, but that one seems more complicated. Help is appreciated.