Mathematical Description of Glide-Trajectory Optimization Problem