adjoint and inverse of a matrix class 12