Can someone give me a step by step answer on how they figured this out so I understand it PLEASE???

i need to figure out How many miles per hour the train is going

Can someone give me a step by step answer on how they figured this out so I understand it PLEASE i need to figure out How many miles per hour the train is going class=