We are given the following two equations

Let us solve these equations using the substitution method.
Separate out one variable from eq. 1

Now substitute this value of y into the eq.2

So, we got the value of x and we can substitute this value into eq.1 to find the value of y.

Therefore, the solution of this system of equations is
x = -1 and y = 2