This is LaTeX code:
[latex]
0=(y_P-y_A)+(y_Q-y_B)+(y_R-y_C)
[/latex]