The system of equations are and .
Consider .
.
Substitute in .
Use quadratic formula to find the roots of the related quadratic equation.
If , .
The values of , and , .