Solution:
We shall use the standard notations. We first prove that YX⊥BC. In △BQR we have ∠BRY=90∘−2β and since ∠MNB=2β it follows that NX⊥RY. Analogously RX⊥NY. This means that X is the orthocenter of △NRY and YX⊥RN. Hence YX⊥BC.

Now we shall prove that X lies on the altitude of △ABC through A. Denote by X′ its intersection point with MN. Since BM=BN and CP=CN=p, we have BM=BN=p−a. Then AM=c−(p−a)=p−b and by the Sine theorem for △AMX′ we get
sin2βAX′=sin∠AX′MAM⟺sin2βAX′=sin(90∘+2β)p−b⟺AX′=(p−b)tan2β
On the other hand, if T is the tangent point of the incircle with the side BC, then BT=p−b and r=(p−b)tan2β. Therefore AX′=r. Analogously, if X′′ is the intersection point of RS and the altitude of △ABC through A, then AX′′=r. Therefore X′≡X′′≡X.
Since YX⊥BC and AX⊥BC, we conclude that the points X, A and Y are colinear.