Let $ABC$ be a triangle inscribed in a circle, and $P$ be a point on this circle. Let $P \in AB$, $N \in AC$ and $R \in BC$ be such that $PM\perp AB$, $PN\perp AC$ and $PR\perp BC$. Prove that $MNR$ is a line, called the Simson line of $P$.
My attempt, $\angle ANP=90$
$ANMP$ is a cyclic quadrilateral.
What should I do further.?


Hint: It suffices to prove that $\angle MNA = \angle CNR$. Why? Because that will easily imply that $\angle MNR = \angle ANC = \pi.$
Further hint: $\angle MNA = \angle MPA = \frac{\pi}{2} - \angle MAP = \frac{\pi}{2} - (\pi - \angle BAP) = \angle BAP - \frac{\pi}{2}$. Now use the fact that $MNRC$ and $ABPC$ are cyclic quadrilaterals in much the same way.