recall your d = rt, distance = rate * time.
so, we know the wind rate is 35mph.
when the pilot goes with it, it runs for say "t" hours and covers 640 miles.
when he goes against it, it runs for say also "t" hours, covering 455 miles only.
now, let's say the still air speed of the plane is "r", so when it goes with the wind, is not really going "r" mph, is really going "r + 35", because the wind is adding speed.
likewise, when it goes against it, the speed is not "r" but "r - 35", the wind is slowing it down.

