So first to find the speed of the train you must first figure out what the “useless” info is. In this case it would be how long to train is. Then you would take the distance of the bridge (400 meters) and divide it by the time it takes you to cross the bridge (30 seconds) to get your answer.