To find side $ a $ use formula:
$$ d_1^2 + d_2^2 = 4 \cdot a^2 $$After substituting $ d_1 = 18 $ and $ d_2 = 12 $ we have:
$$ 18^2 + 12^2 = 4 \cdot a^2 $$ $$ 324 + 144 = 4 \cdot a^2 $$ $$ 4 \cdot a^2 = 468 $$ $$ a^2 = \frac{ 468 }{ 4 } $$ $$ a^2 = 117 $$ $$ a = \sqrt{ 117 } $$$$ a = 3 \sqrt{ 13 } $$