I have a question on how to get matrix B from matrix A.
A = 1 2 3 4 5
6 7 8 9 10
0 0 1 0 0
B is given, too
B = 6 7 0 9 10
1 2 0 4 5
0 0 1 0 0
the tools are swapping, adding and multiplying individual lines to one another. main problem here: how to get these 0s in line 1 and 2 is not obvious for me in B.
First swap the first and second rows to get $\begin{pmatrix}6 & 7 & 8 & 9 & 10 \\ 1 & 2 & 3 & 4 & 5 \\ 0 & 0 & 1 & 0 & 0 \end{pmatrix}$
Then subtract 8 times the third row from the first row and subtract 3 times the third row from the second row.