When walking, it is downwind, and the speed is: 800+100 = 900 km/h.
The return time is against the wind, and its speed is: 800-100 = 700 km/h.
If the distance is fixed, then the speed ratio should be proportional to the distance ratio.
Then go: 900x(700/900+700)x9=3543.75.
Time: 700x(900/900+700)x9+3543.75.
If the verification is successful, then the plane should fly back when it flies out of 3543.75 kilometers at most.