a person starts walking at a speed of 5 km / hr through half the distance , rest of the distance he covers with aspeed 4 km / hr . total time of travel is 6 hours . what is the maximum distance he can cover ?