Problem

Source: 2020 Estonia TST 3.2

Tags: geometry, excircle, equal segments, circumcircle



Let $M$ be the midpoint of side BC of an acute-angled triangle $ABC$. Let $D$ and $E$ be the center of the excircle of triangle $AMB$ tangent to side $AB$ and the center of the excircle of triangle $AMC$ tangent to side $AC$, respectively. The circumscribed circle of triangle $ABD$ intersects line$ BC$ for the second time at point $F$, and the circumcircle of triangle $ACE$ is at point $G$. Prove that $| BF | = | CG|$.