Projectile Motion of a fired rocket

1. The problem statement, all variables and given/known data
(Q) A rocket is initially at rest on the ground. When its engines fire, the rocket flies off in a straight line at an angle 53.1 degrees above the horizontal with a constant acceleration of magnitude g. The engines stop at a time T after launch, after which the rocket is in projectile motion. You can ignore air resistance and that g is independent of altitude.

Find the maximum altitude reached by the rocket as well as the horizontal distance from the launch point to the point where the rocket hits the ground.