
Explanation:
We are going to use the identity
and substitute this into our expression so we can write


Take the square of the equation above to get


Rearranging the terms, we then get

If we let
the above equation becomes

This looks like a quadratic equation whose roots are



We can then write

Solving for x, we finally get
