On a section of double track, two trains run in the same direction. The speed of train a is 20 meters per second, and that of train B is 24 meters per second The total length of the train is 180 meters, and the time for train B to catch up with train a to completely exceed train a (i.e. wrong train) is calculated Set up equations to do

On a section of double track, two trains run in the same direction. The speed of train a is 20 meters per second, and that of train B is 24 meters per second The total length of the train is 180 meters, and the time for train B to catch up with train a to completely exceed train a (i.e. wrong train) is calculated Set up equations to do


From the front of train B to catch up with the rear of train a, to the rear of train B and leave train a,
The actual distance should be a train length + B train length
I don't know whether it is the length of one train or two trains?
Let's count it as the length of a train,
Setting: the time of passing is x seconds
180+180=X(24-20)
10. That is, the wrong time is 90 seconds