The distance between two stations is 400km. Two trains start simultaneously from these stations on parallel tracks to cross each other. The speed of one of them is greater than the other by 5 km/hr. If the distance between the two trains after two hours of their start is 170 km, find the speed of each train?