The equations are and .
Consider the equation .
Solve for .
.
Substitute in .
Substitue in .
Therefore, the solutions are and .