Solving by substitution method.
We have 2 equations:
and
If we substitute the first equation into the second one, we get
which gives
Now, we can substitute this result into the first equation, then we get
then, we have
Therefore, the solution of the system is