This is LaTeX code:
[latex]
x_A+x_B+x_C=x_P+x_Q+x_R
[/latex]