Sample variance (dispersion)

$$s^{2} = \frac{(x_1-x_{v})^{2}\cdot m_1+(x_2-x_{v})^{2}\cdot m_2+(x3-x_{v})^{2}\cdot m3}{n-1}$$
Find   It is known that:
      =