Find the solution of the linear system.

x + y + z = 0
−x + 2y + 5z = 6
3x − y = 12


(x, y, z)= ???

Solve by elimination:

Eliminate y by adding equation (3) to equation 1:
4x+z=12
Similarly, add 2*(3) to equation (2):
5x+5z=30

You can continue the elimination process to find x and z. Back-substitute to find y.