When you doing the elementary row operations, you would think 2 times row 3 plus row 1 would work, but think of it as the value minus your operation. Therefore, you have -2-(-2) to obtain 0.
From the above explantion, you will see we have 3-3 which is 0 so good.
And 4*1 gives us the 4.
Do you understand now?