how do u solve a system of linear equations in three variables?

for example this problem
Ex.1 2x-2y+z=3
5y-z=-31
x+3y+2z=-21

3 answers

http://www.mathwarehouse.com/algebra/planes/systems/three-variable-equations.php
y=3x+4
81x2-18x+1