To find side $ a $ use formula:
$$ d_1^2 + d_2^2 = 4 \cdot a^2 $$After substituting $d_1 = 3\, \text{cm}$ and $d_2 = 1\, \text{cm}$ we have:
$$ \left( 3\, \text{cm} \right)^{2} + \left( 1\, \text{cm} \right)^{2} = 4 \cdot a^2 $$ $$ 9\, \text{cm}^2 + 1\, \text{cm}^2 = 4 \cdot a^2 $$ $$ 4 \cdot a^2 = 10\, \text{cm}^2 $$ $$ a^2 = \frac{ 10\, \text{cm}^2 }{ 4 } $$ $$ a^2 = \frac{ 5 }{ 2 }\, \text{cm}^2 $$ $$ a = \sqrt{ \frac{ 5 }{ 2 }\, \text{cm}^2 } $$$$ a = \frac{\sqrt{ 10 }}{ 2 }\, \text{cm} $$