Average value of $S=x_1x_2+x_2x_3+x_3x_4+\cdots+x_{10}x_1$ where $x_1x_2,x_3...$ are all possible permutations of $1,2,3,...10$
My try:
$S$ is sum of the products taken two at a time of $x_1$,$x_2$,...$x_{10}$
so we can write $$2S=(x_1+x_2+x_3+\cdots x_{10})^2-(x_1^2+x_2^2+\cdots x_{10}^2)$$
But since for all possible permutations of $1,2,3..10$, the sum of them and sum of squares of them remains fixed.
Hence average of $S$ is $S$ itself.
So we get
$$2S=(1+2+3+..10)^2-(1^2+2^2+3^2+..10^2)$$
with that we get $$S=1320$$
EDIT: the actual sum $S$(ten terms) is:
$$S=x_1x_2+x_2x_3+\cdots +x_9x_{10}+x_{10}x_1$$
Now how to proceed?
In order to compute $$\sum_{\sigma\in S_{10}}\sigma(1)\sigma(2)+\ldots+\sigma(10)\sigma(1)$$ let us focus on the sum $$ \sum_{\sigma\in S_{10}} \sigma(1)\sigma(2) $$ first. This sum contains all the products of the form $ab$, with $a$ and $b$ being distinct elements of $\{1,\ldots,10\}$, each one appearing $8!$ times. It follows that $$ \sum_{\sigma\in S_{10}} \sigma(1)\sigma(2) = 8!\sum_{a\neq b}ab = 8!\left[\left(\sum_{a=1}^{10}a\right)^2-\sum_{a=1}^{10}a^2\right]=8!\cdot2640. $$ Then you can check that $\sum_{\sigma\in S_{10}}\sigma(2)\sigma(3)$ is exactly the same number and draw your conclusion.
If my computations are correct, the average value of your quadratic form is $\frac{880}{3}$.