In triangle $ABC$ point $M$ is the midpoint of side $AB$, and point $D$ is the foot of altitude $CD$. Prove that $\angle A = 2\angle B$ if and only if $AC = 2MD$
Problem
Source: 2019 Saudi Arabia JBMO Training Test 9 p2
Tags: geometry, equal angles, equal segments, midpoint, altitude