Prove Theorem 13.12: Let $T$ be an orthogonal operator on a real inner product space $V$. Then there exists an orthonormal basis of $V$ in which $T$ is represented by a block diagonal matrix $M$ of the form
\[
M=\operatorname{diag}\left(1, \ldots, 1,-1, \ldots,-1,\left[\begin{array}{cc}
\cos \theta_{1} & -\sin \theta_{1} \\
\sin \theta_{1} & \cos \theta_{1}
\end{array}\right], \ldots,\left[\begin{array}{cc}
\cos \theta_{r} & -\sin \theta_{r} \\
\sin \theta_{r} & \cos \theta_{r}
\end{array}\right]\right)
\]