2. (20%) Let A be an n × n matrix. Use elementary row operations to transform [A l_n] to [R B], where R is a matrix in reduced row echelon form. If R = ln, in which case A is invertible, show that B = A⁻¹.

(Hint: Using the fact that there exists an invertible matrix P such that PA=R)