Subtract the $3 from the total then divide by $2 per mile:
39-3 = 36
36/2 = 18
18 miles
5.7m questions
7.4m answers