Let . Then . This gives the following triangle:
To solve for the last side, we simply use the Pythagorean theorem: and so (we only need to consider the positive root since has to be positive).
Hence, taking the cosine of theta in our triangle above, we see that , which is answer .