Hello all, this was on my practice final exam for my linear algebra class.

Let A and B be two nxn square matricies such that AB is invertible. Prove that homogeneous equation (A^2)x=0 Hint:show that A must be invertible,

The only thing I know is that since A is invertible, by the Inverible MAtrix Theorem, Ax=0 has only trivial solution.

Help!!