Solving by elimination method.
We have the following system of equations:

If we add both equations, we have

because -y+y=0. That is, we have eliminated y.
Now, by combining similar terms, we obtain

If we move -4 to the right hand side, we have

Now, we can substitute this value into the first equation. It yields

If we move +10 to the right hand side as -10, we have

Therefore, the answer is x=2 and y=8.