-x + y = 1 .......(1)

2x +y = -2.......(2)

using the elimination method, subtract (1) from (2):

==> 3x = -3

==> x = -1

Now using the substitution method, substitute with x value in either equations.

-x + y = 1

==> y= x+1

==> y= -1+1 = 0

==> y =0