Let $AD$ be the angle bisector of acute triangle $ABC$, and let $M$ be the midpoint of $AD$. Let $P$ be the point on $BM$ such that $\angle APC = 90^{\circ}$, and let $Q$ be the point on $CM$ such that $\angle AQB = 90^{\circ}$. Prove that $DPMQ$ is a cyclic quadrilateral.
My thoughts: It looks like I can use the inversion of circle $M$ with radius $MD$, Then I can try to show $B$ goes to $P$ and $C$ goes to $Q$. But I am not able to finish it.


Sketch. Consider point $F$ on the line $AC$ such that $BF\parallel AD$. Then, prove that $CM$ passes through the midpoint of $BF$. After that, check that circumcircle of $AQB$ passes through the midpoint of $BF$ as well. Conclude that $\angle AQM=\angle MAC$ and similarly $\angle APM=\angle BAM$. It follows that $MA^2=MD^2=MQ\cdot MC=MP\cdot MB$ and, hence, $DPMQ$ is a cyclic quadrilateral.