i found "U" but failed to find "R". What I did is add row3 to row2, then divide by pivots, which gave me my "R".
i thought that;s how its done, why did i fail it. How is it done?

i found "U" but failed to find "R". What I did is add row3 to row2, then divide by pivots, which gave me my "R".
i thought that;s how its done, why did i fail it. How is it done?

You left out a pivot. You should have $$ \begin{bmatrix} 1&0&-1\\ 0&1&-1 \end{bmatrix} $$