Gaussian elimination:
A. Forward Elimination:
Use (1) to eliminate x from (2):
Note: you always must keep at least some of the original equation.
B. Back Substitution:
Solve (2') to find y=-1. Then use that value in (1) to find x=2.