Given the angle $∠pOq$ and point $M$, which is not on the ray $p$. Construct a circle with its center on line $q$ that passes through point $M$ and touches line $p$.
If I mark the point of tangency on line p as D, and the center of the circle on line q as S. Then, I have triangle SMD which is isosceles, but I'm not sure how to proceed further.