Answer:
There is an interval of 24.28s in which the rocket is above the ground.
Step-by-step explanation:





From Kinematics, the position
as a function of time when the engine still works will be:

At what time the altitud will be
?
⇒

Using the quadratic formula:
.
How much time does it take for the rocket to touch the ground? No the function of position is:

Where our new initial position is
, the velocity when the engine breaks is
and the only acceleration comes from gravity (which points down).
Now, when the rocket tounches the ground:
Again, using the quadratic ecuation:

Now, the total time from the moment it takes off and the moment it tounches the ground will be:
.