In order to avoid a storm, a pilot starts the flight 13° off course. After flying 80 miles in this direction, the pilot turns the plane to head toward the destination. The angle formed by the course of the plane during the first part of the flight and the course during the second part of the flight is 160°.
a. What is the distance of the flight?
b. Find the distance of a direct flight to the destination.