Suppose the $x$ -coordinates of the data $\left(x_{1}, y_{1}\right), \ldots,\left(x_{n}, y_{n}\right)$ are in mean deviation form, so that $\sum x_{i}=0 .$ Show that if $X$ is the design matrix for the least-squares line in this case, then $X^{T} X$ is a diagonal matrix.