a rocket blasts off and moves up with an acceleration of 12 m/s2 until it reaches 30 m then the engine shuts down and the rocket continues in free fall. What is the max hieght of the rocket and what is the total duration of the rockets flight?