To find side $ a $ use formula:
$$ d_1^2 + d_2^2 = 4 \cdot a^2 $$After substituting $d_1 = 24\, \text{cm}$ and $d_2 = 18\, \text{cm}$ we have:
$$ \left( 24\, \text{cm} \right)^{2} + \left( 18\, \text{cm} \right)^{2} = 4 \cdot a^2 $$ $$ 576\, \text{cm}^2 + 324\, \text{cm}^2 = 4 \cdot a^2 $$ $$ 4 \cdot a^2 = 900\, \text{cm}^2 $$ $$ a^2 = \frac{ 900\, \text{cm}^2 }{ 4 } $$ $$ a^2 = 225\, \text{cm}^2 $$ $$ a = \sqrt{ 225\, \text{cm}^2 } $$$$ a = 15\, \text{cm} $$