Orthogonally diagonalize the matrices in Exercises $13-22,$ giving an orthogonal matrix $P$ and a diagonal matrix $D .$ To save you time, the eigenvalues in Exercises $17-22$ are: $(17)-4,4,7 ;(18)$ $-3,-6,9 ;(19)-2,7 ;(20)-3,15 ;(21) 1,5,9 ;(22) 3,5$
$$
\left[\begin{array}{ll}{3} & {1} \\ {1} & {3}\end{array}\right]
$$