A rocket is fired vertically from the ground. It moves upwards with a constant acceleration 10 ms^-2 for 30 seconds, after which the fuel is consumed. After what time from the instant of firing, the rocket will attain the maximum height? (Take g = 10 ms^-2 )
A. 75 s
B. 60 s
C. 45 s
D. 30 s