A plane rises from takeoff and flies at an angle of 90° with the horizontal runway when it has gained 400 feet find the distance that the plane has flown.