6. The volume of a regular $n$-sided pyramid $(n \geqslant 3)$ is $V$, and the area of each side triangular face is $S$. Point $O$ is located inside the base. Then the sum of the distances from point $O$ to each side face is $\qquad$ .
6. $\frac{3 V}{S}$