The system of equations:
\ and
.
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
.
Subustiute the values of in equation
.
When ,
.
When ,
.
Therefore, the solutions are and
.
and
.