5. Let A and B be both nx n matrices. Prove that the product AB is invertible if and only if both A and B are invertible. (10%).