x-y=5
-2x+y=-1
x - y = 5
-2x + y = -1
Add the two equations together:
x - 2x - y + y = 5 - 1
Simplify:
-x = 4 so x = -4
Put this value back into one of the first two equations and rearrange it to find y.