Concept:
When the stone is released, it has the same upward velocity as the balloon.
\[
u=10\,\text{m s}^{-1}
\]
\[
a=-10\,\text{m s}^{-2}
\]
\[
y_0=40\,\text{m}
\]
Step 1: Apply the equation of motion.
Taking upward direction as positive,
\[
y=y_0+ut+\frac12 at^2
\]
At the ground,
\[
y=0.
\]
Hence,
\[
0=40+10t-\frac12(10)t^2
\]
\[
0=40+10t-5t^2
\]
\[
t^2-2t-8=0
\]
Step 2: Solve the quadratic equation.
\[
(t-4)(t+2)=0
\]
\[
t=4,\,-2
\]
Rejecting the negative value,
\[
t=4\,\text{s}
\]
Final Answer:
\[
\boxed{4\,\text{s}}
\]