Question 1027316
These should help you analyze and solve this problem:


<a href="https://www.youtube.com/watch?v=1Ki0d5-_XWY">travel rates involving wind</a>


<a href="https://www.youtube.com/watch?v=ljijdFwiuFs">travel rates, round trip distance</a>


Those might not fit your example type perfectly but you should be able to figure how to make adjustments in what is needed.