On the extension of the hypotenuse $AB$ of the right-angled triangle $ABC$, the point $D$ after the point B is marked so that $DC = 2BC$. Let the point $H$ be the foot of the altitude dropped from the vertex $C$. If the distance from the point $H$ to the side $BC$ is equal to the length of the segment $HA$, prove that $\angle BDC = 18$.