An elevator is stopped at the ground floor. It starts moving upwards at constant acceleration for 5 seconds. It then keeps a constant speed for 35 seconds. Finally, it slows down with an acceleration of the same magnitude (but opposite direction) , until it comes to a halt at the top floor. The top floor is 370 meters above the ground floor.