Answer:
x=-1,y=1
Step-by-step explanation:
x+y=0
x-y+2=0
Therefore 0=x+y
x-y+2=x+y
2y=2
y=1
x+1=0
x=-1