Write the system as the following augmented matrix:
![\left[ \begin{array}{ccc|c} 3 & -2 & 5 & -7 \\ 1 & -1 & 3 & -5 \\ 4 & 1 & 1 & 6 \end{array} \right]](https://tex.z-dn.net/?f=%5Cleft%5B%20%5Cbegin%7Barray%7D%7Bccc%7Cc%7D%203%20%26%20-2%20%26%205%20%26%20-7%20%5C%5C%201%20%26%20-1%20%26%203%20%26%20-5%20%5C%5C%204%20%26%201%20%26%201%20%26%206%20%5Cend%7Barray%7D%20%5Cright%5D)
Swap rows 1 and 2 :
![\left[ \begin{array}{ccc|c} 1 & -1 & 3 & -5 \\ 3 & -2 & 5 & -7 \\ 4 & 1 & 1 & 6 \end{array} \right]](https://tex.z-dn.net/?f=%5Cleft%5B%20%5Cbegin%7Barray%7D%7Bccc%7Cc%7D%201%20%26%20-1%20%26%203%20%26%20-5%20%5C%5C%203%20%26%20-2%20%26%205%20%26%20-7%20%5C%5C%204%20%26%201%20%26%201%20%26%206%20%5Cend%7Barray%7D%20%5Cright%5D)
Eliminate the x coefficient from the last two rows by add -3 (row 1) to row 2, and -4 (row 1) to row 3 :
![\left[ \begin{array}{ccc|c} 1 & -1 & 3 & -5 \\ 0 & 1 & -4 & 8 \\ 0 & 5 & -11 & 26 \end{array} \right]](https://tex.z-dn.net/?f=%5Cleft%5B%20%5Cbegin%7Barray%7D%7Bccc%7Cc%7D%201%20%26%20-1%20%26%203%20%26%20-5%20%5C%5C%200%20%26%201%20%26%20-4%20%26%208%20%5C%5C%200%20%26%205%20%26%20-11%20%26%2026%20%5Cend%7Barray%7D%20%5Cright%5D)
Eliminate the y coefficient from the first and last rows by adding row 2 to row 1, and -5 (row 2) to row 3 :
![\left[ \begin{array}{ccc|c} 1 & 0 & -1 & 3 \\ 0 & 1 & -4 & 8 \\ 0 & 0 & 9 & -14 \end{array} \right]](https://tex.z-dn.net/?f=%5Cleft%5B%20%5Cbegin%7Barray%7D%7Bccc%7Cc%7D%201%20%26%200%20%26%20-1%20%26%203%20%5C%5C%200%20%26%201%20%26%20-4%20%26%208%20%5C%5C%200%20%26%200%20%26%209%20%26%20-14%20%5Cend%7Barray%7D%20%5Cright%5D)
Eliminate the z coefficient from the second row by adding 4 (row 3) to 9 (row 2) :
![\left[ \begin{array}{ccc|c} 1 & 0 & -1 & 3 \\ 0 & 9 & 0 & 16 \\ 0 & 0 & 9 & -14 \end{array} \right]](https://tex.z-dn.net/?f=%5Cleft%5B%20%5Cbegin%7Barray%7D%7Bccc%7Cc%7D%201%20%26%200%20%26%20-1%20%26%203%20%5C%5C%200%20%26%209%20%26%200%20%26%2016%20%5C%5C%200%20%26%200%20%26%209%20%26%20-14%20%5Cend%7Barray%7D%20%5Cright%5D)
Eliminate the z coefficient from the first row by adding row 3 to 9 (row 1) :
![\left[ \begin{array}{ccc|c} 9 & 0 & 0 & 13 \\ 0 & 9 & 0 & 16 \\ 0 & 0 & 9 & -14 \end{array} \right]](https://tex.z-dn.net/?f=%5Cleft%5B%20%5Cbegin%7Barray%7D%7Bccc%7Cc%7D%209%20%26%200%20%26%200%20%26%2013%20%5C%5C%200%20%26%209%20%26%200%20%26%2016%20%5C%5C%200%20%26%200%20%26%209%20%26%20-14%20%5Cend%7Barray%7D%20%5Cright%5D)
Then the solution to the system is (x, y, z) such that
9x = 13 and 9y = 16 and 9z = -14
or
x = 13/9 and y = 16/9 and z = -14/9