Let xkm/h represent the speed of the slower train
Since the faster train is 14km/h faster than the slower train, the speed of the faster train is (x+14)km/h
Since they meet after 6 hours, then it is the time taken to cover the distance 1800km
The formula for speed is
The distance travel by the slower train will be
The distance traveled by the slower train is 6xkm
The distance traveled by the faster train will be
The distance traveled by the faster train is 6(x+14)km
The total distance will be
Solve to find x
Since, xkm/h is the speed of the slower train,
Hence, the rate of the slower train is
Since, (x+14)km/h is the speed of the faster train,
Hence, the rate of the faster train is