The equations are .
Multiply 2 to equation (1 ).
Subtract equation (2) from equation (3).
Substitute the value in equation (2).
The solutions for and for .