Two towns A and B are connected to a regular bus service with a bus leaving in either direction every T min. A man cycling with a speed of 20 km/hr in the direction A to B notices that a bus goes past him every 18 min in the direction of his motion, and in every 6 min in the opposite direction. What is the period T of the bus service and with what speed do the bus ply on the road?