We are given
First equation:

we can use formula

slope is m=1
y-intercept is b=-1
Second equation:

we can use formula

slope is m=-2
y-intercept is b=5
Graph:
We can see that
both curves intersect at (2,1)
so, solution is x=2 and y=1.................Answer