a train leave a station. one hour later a second train which travels 10 km/h faster than the first train also departs from the station. the second train overtakes the first train after 6 hours. what's the speed of the first train

If the first train's speed is s, then since distance = speed * time,

6s = 5(s+10)
solve for s