Suppose that $P$ and $Q$ are points on the sides $AB$ and $AC$ respectively of $△ABC$. The perpendiculars to the sides $AB$ and $AC$ at $P$ and $Q$ respectively meet at $D$, an interior point of $△ABC$. If $M$ is the midpoint of $BC$, prove that $PM = QM$ if and only if $∠BDP=∠CDQ$.
What i don't get is that how can i relate the sides with the angles. I tried to extend some segments and find similar triangles, but to no avail.
