5.3 Computing the Trajectory in Reverse