let total distance = 2x
where x is top of the hell distance covered in t time and x is returning distance covered in t'
x = velocity x time= 6 x t =6t......(1)
x= 14 x t'=14t' ...(2)
t + t' = 1 hours .....(3)
from eqn (1) and (2)
6t= 14 t'
t= 14t'/6
put this in equatin (3)
t + t' = 1
14t'/6 + t'=1
20t' = 6
t'=6/20
put this in eqn (2)
x= 14 t'=14 *6/20=84/20=4.2
x= 4.2 mile
distance in one way is 4.2 mile