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