The system of equations are equations are
, 
and
.
Eliminate one variable by using two pairs of equations.
\Multiply the equation
by
.

Subtract the equation
from
.

Subtract the equation
from
.

Divide each side by
.

Solve the system of two equations.
\Add the equations
and
.

Solve for
.
.
Substitute
in equation
.


.
Substitute the two values into one of the original equations to find
.
Substitute
and
in equation
.

.
.
.