A train running at 24 km/hr takes 30 seconds to pass a platform. Next, it takes 10 seconds to pass a man walking at 12 km/hr in the opposite direction. Find the length of the train.
a) 100 m
b) 120 m
c) 150 m
d) 180 m