Solution (source code)

= Solution

Using the <sum of squares>, the second <moment> is
$$
\boxed{\mathbb E[X^2]=\frac{1+4+9+16+25+36}{6}=\frac{91}{6}.}
$$