Answer:
The costs are equal at 3 miles. It coest $8 for either company
At 8 miles the green cost 13 and the red cost 18.
My advice would be to use the Red compnay if traveling less than 3 miles and the green company is traveling more than 3 miels. At 3 miles the costs are the same.
Explanation: