The speed of the train is 36 km/hr, which converts to 36 multiplied by (5 divided by 18), equaling 10 m/s. When crossing the platform, the total distance covered is 10 multiplied by 27, which equals 270 metres. When crossing the man running in the same direction, the relative speed is (36 minus 9) km/hr, equaling 27 km/hr or 7.5 m/s; therefore, the train's length is 7.5 multiplied by 18, equaling 135 metres. Subtracting this train length from the total distance gives the platform length of 270 minus 135, equaling 135 metres.