Hello Ronak! The substitution method is definitely correct, but you can get the same solution a bit faster by using what's called linear combination...so basically set it up like an addition problem with one equation on top and the other on the bottom and add down.
x + y = -12
x - y = 2
2x +0y = -10
2x = -10
2 2
x = -5
So, to put the above work in words, I started off by combining the x terms...x + x = 2x. Then I look at the y's and we have a "+y+ and a "-y" which means they cancel out to zero. The constant terms on the right side of the equation make -12 + 2, which is -10. Now we have it simplified to 2x = -10....divide both sides by 2 to isolate "x", and we get x = -5. Now that we have the x-value, all we do is plug it into either of the 2 original equations and solve for the y-value as so:
x + y = -12
(-5) + y = -12
+ 5 + 5
y = -12 + 5
y = - 7
So to put that in words, we picked one equation (I picked the first one), then we plug in the value we got for x, which was -5. Then, to isolate y, we added the 5 to both sides, then we solved for y = -12 + 5, leaving us with y = -7.
Final answer: (x = -5, y = -7)
This shortcut can be used any time you see a term that can be cancelled, like in this example we had the +y and -y leaving us with only x terms when we do a linear combination. I hope this helps. :)