Step 1: Calculate the length of the train.
The train's speed relative to the man is \( 108 - 12 = 96 \) km/hr, which is \( 96 \times \frac{1000}{3600} = 26.67 \) m/s.
\[
\text{Length of train} = 26.67 \text{ m/s} \times 9 \text{ s} = 240 \text{ m}
\]
Step 2: Calculate the total length covered when crossing the platform.
The train's speed in m/s is \( 108 \times \frac{1000}{3600} = 30 \) m/s.
\[
\text{Total length} = 30 \text{ m/s} \times 30 \text{ s} = 900 \text{ m}
\]
\[
\text{Length of platform} = 900 - 240 = 660 \text{ m}
\]