Fastest way to solve this? NOT LOOKING FOR THE ANSWER with logical explanation please about how to solve it.

A train is going 72km/h (20m/s)

it's passing a 500m long tunnel and it took 30s

how long is the train? (600m)