How is
[ math ] BD=\frac{a}{\sqrt{2}} [ /math ] and
[ math ] 3=\frac{a^{2}}{2\sqrt{2}} [ /math ]