Add corresponding terms of the two equations and the x-terms
will cancel out automatically since one is 7x and the other is -7x:
7x + 2y = 10
-7x + y = -16
--------------
3y = -6
=
y = -2
Substitute -2 for y in either equation:
7x + 2y = 10
7x + 2(-2) = 10
7x - 4 = 10
+4 +4
------------
2x = 14
=
x = 7
Edwin