Here is a method known as RREF (reduced row echelon form). The idea is elimination.
Start with your system only write it without the variables:
⎣⎢⎡−51231−1211177⎦⎥⎤
The idea is to get it into the form
⎣⎢⎡100010001abc⎦⎥⎤
Where a, b, and c are the solutions to your system>
Now, let's multiply row 2 by -2 and add it to row 3, then we get:
⎣⎢⎡−51031−321−117−7⎦⎥⎤
Now, multiply row 1 by 1/5 and add to row 2, then we get:
⎣⎢⎡−50038/5−327/5−1136/5−7⎦⎥⎤
Now, multiply row 2 by 5/8, then we get:
⎣⎢⎡−50031−327/8−119/2−7⎦⎥⎤
Now, multiply row 2 by -3 and add to row 3, then we get :
⎣⎢⎡−50031027/813/819/213/2⎦⎥⎤
Now, multiply row 3 by 8/13:
⎣⎢⎡−50031027/8119/24⎦⎥⎤....
See there?. we have z=4 in the last row.
Now, multiply row 3 by -7/8 and add to row 2, then we get:
⎣⎢⎡−500310201114⎦⎥⎤
Multiply row 2 by -3 and add to row 1, then we get:
⎣⎢⎡−500010201−214⎦⎥⎤
Multiply row 1 by -1/5, then we get:
⎣⎢⎡100010−2/5012/514⎦⎥⎤
Now, the last one finally. multiply row 3 by 2/5 and add to row 1, then we get:
⎣⎢⎡100010001214⎦⎥⎤
So, the solutions are
x=2, y=1, z=4
There is no set way to do this. It is just a matter of whittling away at it and trying not to replace something you already done.
I know it seems tedious and long. That's because it is.
This method takes practice , like everything else.