$P, Q, R$ are points on the sides $BC,CA,AB $ of triangle $ABC$. Prove that the perpendiculars to the sides at these points meet in common point if and only if
$ BP^2 + CQ^2 + AR^2 = PC^2 + QA^2 + RB^2 $
I can't seem to prove $ BP^2+CQ^2+AR^2 = PC^2+QA^2+RB^2 \Rightarrow $ "the perpendiculars to the sides at these points meet in common point".
I have proved the implication other way using Pythagoras theorem.