This is LaTeX code:
[latex]
\frac{x_A+x_B+x_C}{3}=\frac{x_P+x_Q+x_R}{3}
[/latex]