Источник TeX:
\displaystyle HD = HE = a\sqrt{2}-a