Distance = speed x time. A man travels a certain distance D1 km at a speed of S1 km/h and a certain distance at a speed of S2 km/h, his average speed during the entire journey is given, Average speed = km/h.