Answer is 6 kms. It's pretty easy to solve the sum.
Assume the total distance as
Then, total time =
Two thirds of the distance =
km, similarly the rest of the distance =
Now, according to question,
On solving the value of
from the above equation, the value is 6 km.