We are given that the number $b_i$ announced by girl $i$ is the average of the numbers $x_{i^+}$ and $x_{i^-}$ chosen by the neighboring girls $i^+$ and $i^-$:
$$2 b_i = x_{i^+} + x_{i^-},$$
where
$$\begin{array}{rcl}
i^+ & = & i + 1 - \left\lfloor \frac{i}{N} \right\rfloor N, \\
i^- & = & i - 1 + \left\lfloor \frac{N + 1 - i}{N} \right\rfloor N
\end{array}$$
and $N$ is the number of girls (that is, $i^+$ and $i^-$ loop around the interval $[1, N]$). This forms a linear equation system, which can be expressed on matrix form as $A\mathbf{x} = \mathbf{b}$ where the number at row $i$, column $j$ of the matrix $A$ is
$$a_{i,j} = \begin{cases}
\frac{1}{2}, \ i-j \equiv_N 1,\\
\frac{1}{2}, \ j-i \equiv_N 1,\\
0 \ \ \mathrm{otherwise.}
\end{cases}$$
For $N = 5$, $2A$ looks like:
$$\begin{array}{ccccc}
&0 &1 &0 &0 &1 \\
&1 &0 &1 &0 &0 \\
&0 &1 &0 &1 &0 \\
&0 &0 &1 &0 &1 \\
&1 &0 &0 &1 &0
\end{array}$$
Solving this equation system for $\mathbf{x}$ with $N = 10$ and $\mathbf{b} = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]$ gives
$x_6 = 1$.