Answer:

Step-by-step explanation:
The relative speed between the trains is given by:

v1: speed of the first train
v2: speed of the second train
To find the relative velocity you write the equation of motion of both train by taking into account the information of the statement. The trains have constant velocity. Furthermore, the second train stars 10 km behind the other one. hence you have:

for t = 2 hours, the positions of both trains are equal, thus you have:

you factor v2 - v1 from the last equation and replace t = 2h:

Hence, you have that the relative velocity is:
