Let the length of the bridge be B, so the length of the platform is 0.5B. The speed of the train is 108 km/hr, which converts to 108 multiplied by 5/18, giving 30 m/s. The total distance covered to pass the platform is 30 multiplied by 15, equaling 450 meters. The total distance covered to pass the bridge is 30 multiplied by 18, equaling 540 meters. Let L be the length of the train. We then have L + 0.5B = 450 and L + B = 540. Subtracting the first equation from the second gives 0.5B = 90, so B = 180 meters. Substituting B back into the first equation gives L + 90 = 450, meaning the length of the train L is 360 meters.