How this connects to AP Physics 1 (Topic 1.4, Reference Frames and Relative Motion): the plane's velocity relative to the ground is the vector sum of its velocity relative to the air and the air's velocity relative to the ground. To fly a straight line to the city, choose a heading so the components perpendicular to the path cancel.