It is a little hard to write all the equations down but I'll try to explain the process.
There are three fundamental operations we perform on a linear system.
- Multiplying a row by a scalar.
- Interchanging two rows.
- Adding a scalar multiple of a row to another a row.
The thing to notice is that after performing any of these three operations the resultant system consists of equations that are linear combinations of the original one.
For an example say we have a system,
\begin{array}{c}
a_1x+b_1y+c_1z=d_1 \\
a_2x+b_2y+c_2z=d_2 \\
a_3x+b_3y+c_3z=d_3
\end{array}
Say we multiply the first row by $q$ and add it to the second. The resultant system is,
\begin{array}{c}
a_1x+b_1y+c_1z=d_1 \\
q(a_1x+b_1y+c_1z) + a_2x+b_2y+c_2z=q \cdot d_1 + d_2 \\
a_3x+b_3y+c_3z=d_3
\end{array}
Now say $(x, y, z)^T$ was a solution to the original system. Then, it is also a solution to the second one. Let us try to convince ourselves of this. The first and last rows are not a problem. The second equation of the resultant system is also satisfied because $a_2x+b_2y+c_2z= d_2$ and $(a_1x+b_1y+c_1z) = d_1 \implies q (a_1x+b_1y+c_1z) = q \times d_1 $.
The other two linear operations are also similarly disposed of.
Now look at what we have proven. We have proven that "any solution to the original system is a solution to the system resulting from one of the three linear operations".
But we require a little more. We want the solutions of the new system to be exactly those of the first one. This is established by the fact that every linear operations mentioned has a corresponding inverse operation which is also one of the three linear operations. For an example the inverse operation of the one we performed above is multiplying the first row of the second system by $-q$ and adding to the second row. Now think of the original system as resulting from the second one through the performance of a linear operation. Hence from what we proved above any solution to the second system is also a solution to the first.
So any solution to the original system is a solution to the resultant system and any solution to the resultant system is a solution to the original one. Hence the solutions to the first system are exactly those to the second.
This is exactly what we require.
There is a nice explanation of all this in the first twenty or so pages in "Linear Algebra by Hoffman, Kunze". Must read.