(b) When the stone is suspended in air
$n = \frac{1}{2L}\sqrt{\frac{W_{a}}{m}}$
When the stone is suspended in water,
$n = \frac{1}{2L^{'}}\sqrt{\frac{W_{w}}{m}}$
$\therefore\frac{\sqrt{W_{a}}}{L} = \frac{\sqrt{W_{w}}}{L^{'}}\ or\frac{W_{a}}{W_{w}} = \frac{L^{'^{2}}}{L^{2}}$
Specific gravity of stone
$= \frac{W_{a}}{Wa - W_{w}} = \frac{1}{1 - \frac{W_{w}}{W_{a}}} = \frac{1}{1 - \frac{L^{'^{2}}}{L^{2}}}$
$= \frac{L^{2}}{L^{2} - L^{'^{2}}} = \frac{(40)^{2}}{(40)^{2} - (22)^{2}}$