To find side $ a $ use formula:
$$ d_1^2 + d_2^2 = 4 \cdot a^2 $$After substituting $d_1 = 12\, \text{cm}$ and $d_2 = 9\, \text{cm}$ we have:
$$ \left( 12\, \text{cm} \right)^{2} + \left( 9\, \text{cm} \right)^{2} = 4 \cdot a^2 $$ $$ 144\, \text{cm}^2 + 81\, \text{cm}^2 = 4 \cdot a^2 $$ $$ 4 \cdot a^2 = 225\, \text{cm}^2 $$ $$ a^2 = \frac{ 225\, \text{cm}^2 }{ 4 } $$ $$ a^2 = \frac{ 225 }{ 4 }\, \text{cm}^2 $$ $$ a = \sqrt{ \frac{ 225 }{ 4 }\, \text{cm}^2 } $$$$ a = \frac{ 15 }{ 2 }\, \text{cm} $$