You can put this solution on YOUR website! Let's work this one backwards.
Imagine a triangle with a hypotenuse of 1.
From this diagram,
or in other words
Then
Using the new variable y, you can say,
From Pythagorean theorem, To be technically correct, it can be + or -