Two men start together to walk a certain distance, one at 4 km/h and another at 3 km/h. The former arrives half an hour before the latter. Find the distance(in km).