Analytical Solutions for Extremal Space Trajectories