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.
A 6 km
B 9 km
C 8 km
D 7 km