Answer:
The pilot is 2214.22 miles from her starting position
Step-by-step explanation:
Since the pilot is traveling at a constant speed of 635 mph, the total distance traveled can be easily found as follows:

There was a 10 degrees deviation, so the angle between the trajectory of both legs is 170 degrees.
The distance we need to find is that from the start of the first leg to the end of the second leg, those three distances form a triangle and since the side we're interested in is opposite to the 170 degrees angle, we can determine its length by the law of cosines:

The pilot is 2214.22 miles from her starting position