A train passes a man standing on a platform in 8 seconds and also crosses the platform which is 264 metres long in 20 seconds. The length of the train (in metres) is:

$$\frac{264+L}{20} = \frac{L}{8}$$
$$L = \frac{2112}{12}$$ = 176 m