(g) Find an orthogonal matrix $C$ to diagonalize the $3 \times 3$ matrix $A = \begin{pmatrix} 2 & -1 & -1 \\ -1 & 2 & -1 \\ -1 & -1 & 2 \end{pmatrix}$.