A man goes to his office from his house at a speed of 3 km/hr and returns at a speed of 2 km/hr. If he takes 5 hours in going and coming, what is the distance between his house and office?
A. 3 km
B. 4 km
C. 5 km
D. 6 km