Indirect Approach to the Optimal Glide Trajectory Problem