(b) Let the stone remains in air for $t\ s$. From $S = ut + \frac{1}{2}gt^{2}$
Here, $u = 0,\ \ S = \frac{1}{2}gt^{2}$
Total distance travelled by the stone in last second is
$D = S_{t} - S_{t - 1} = \frac{1}{2}gt^{2} - \frac{1}{2}g(t - 1)^{2}$
Distance travelled by the stone in first three seconds is
$S_{3} = \frac{1}{2} \times g \times 3^{2} = \frac{9}{2}g$
According to given problem, $D = S_{3}$
$\therefore\frac{g}{2}(2t - 1) = \frac{9}{2}g$ or $2t - 1 = 9\ \Rightarrow t = 5s$