We have the following system of equations:

I would solve it by the substituion method since we have that y=x-7, so we can substitute (1) in (2):

We find the solution for x, now we can substiute x=5 in (1) to find the solution for y:

The solution of the system of equations is (5, -2).