For invertible square matrices of the same size, $(AB)^{-1}=B^{-1}A^{-1}$. Verify $(AB)(B^{-1}A^{-1})=I$ and the reverse product. The factor order must reverse: undo $A$ first, then undo $B$.