To find side $ l $ use Pythagorean Theorem:
$$ r^2 + h^2 = l^2 $$After substituting $r = 3\, \text{cm}$ and $h = 5\, \text{cm}$ we have:
$$ \left( 3\, \text{cm} \right)^{2} + \left( 5\, \text{cm} \right)^{2} = l^2 $$ $$ 9\, \text{cm}^2 + 25\, \text{cm}^2 = l^2 $$ $$ l^2 = 34\, \text{cm}^2 $$ $$ l = \sqrt{ 34\, \text{cm}^2 } $$$$ l = \sqrt{ 34 }\, \text{cm} $$