Given:
Distance, d = 508 km
Time, t = 2 hours
Let x be the speed of one train.
Let x-16 be the speed of another train.
To find: Speed of the two trains
Step-by-step explanation:
We know that,

Let us frame the equation as follows,

Final answer:
The speed of the faster train is 135 km/h.
The speed of slower train is 119 km/h