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

Subtract equation
from
.

Multiply equation
by
.

Subtract equation
from
.

Solve the system of two equations
and
.
Multiply equation
by
.

Multiply equation
by negative
.

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
.

.
.
.