Posted by Kgk on Saturday, May 24, 2014 at 2:39am.

since time = distance/speed, d/(12-5) + d/(12+5) = 3 now just solve for d. Assuming the round trip takes 3 hours.