The system of equations:
\
and
.
Solve the equation
for
.

Substitute equation
in equation
and simplify.

.
Least common multiple of
is
.


.
.
Solve the above equation in the quadratic method using the formula
.
Where
.
Substitute the values in
.



and 
and 
and 
Subustiute the values of
in equation
.
When
,

When
,

Therefore, the solutions are
and
.
and
.