TeX source:
\mathrm{x}=\frac{\mathrm{AB}}{2 \mathrm{~A}}=\frac{\mathrm{B}}{2}