Let x = the usual speed, in km/h. Then the condition says (x-6)*4 = (x+4)*2 <<<---=== stating that each way distances are the same ! 4x - 24 = 2x + 8 4x - 2x = 8 + 24 2x = 32 ====> x == 16. Thus we found usual speed = 16 km/h. The distance is (x-6)*4 = (16-6)*4 = 10*4 = 40 kilometers.