\(\left\{{}\begin{matrix}\widehat{ABP}=\widehat{MBC}\left(=\widehat{ABC}+90^0\right)\\BA=BM\\BP=BC\end{matrix}\right.\Rightarrow\Delta BAP=\Delta BMC\left(c.g.c\right)\\ \Rightarrow AP=CM;\widehat{BAP}=\widehat{BMC}\)
Gọi \(\left\{O\right\}=AP\cap CM\)
\(\widehat{AIO}=\widehat{BIM}\left(đđ\right)\\ \Rightarrow\widehat{AOI}=180^0-\left(\widehat{BAP}+\widehat{AIO}\right)=180^0-\left(\widehat{BMC}+\widehat{BIM}\right)=90^0\)
Lại có HD,DE,EG lần lượt là đtb \(\Delta ACD,\Delta ACM,\Delta APM\)
Do đó \(\left\{{}\begin{matrix}HD\text{//}AP;HD=\dfrac{1}{2}AP\left(1\right)\\DE\text{//}CM;DE=\dfrac{1}{2}CM\left(2\right)\\EG\text{//}AP;EG=\dfrac{1}{2}AP\left(3\right)\end{matrix}\right.\)
\(\left(1\right)\left(3\right)\Rightarrow HD\text{//}EG;HD=EG\\ \Rightarrow DEGH\text{ là hbh}\\ \text{Mà }AP=CM\Rightarrow HD=HE\\ \Rightarrow DEGH\text{ là hình thoi}\)
Mặt khác: \(DE\text{//}CM;AP\bot CM\Rightarrow AP\bot DE\)
Mà \(HD\text{//}AP\Rightarrow DE\text{//}HD\)
Vậy DEGH là hình vuông