Distance = speed * time
We are given that the distance is X and the difference in speed is 4 km/hr. We can set up the equation as follows:
X/(6-8) = 4 km/hr
Solving for X, we get:
X = 4 km/hr * (6-8) = 4 km/hr * (-2) = -8 km
Since the distance cannot be negative, we can discard the negative solution and say that the distance traveled is X = 96 km.