6 (10) Suppose that $A \in M_{m \times n}(\mathbb{R})$ and $\operatorname{rank}(A) = n$. Show that $A^T A \in M_{n \times n}(\mathbb{R})$ is an invertible matrix.