A particle goes from A to M with a speed of 30 km/hr, and M to B with a speed of 50 km/hr. If MB = 5AM, the average speed in km/hr for the whole journey is________.
(a) 40
(b) 42
(c) 44
(d) 46