Exercise 10. Prove that the sum of \(n\) squares can be found as follows \begin{equation*} 1^2 +2^2 +3^2+...+n^2 = \frac{n(n+1)(2n+1)}{6}\text{.} \end{equation*}