Let the speed of the train be x km. per hour and that of the car be y km. per hour.
But, total time of journey is 4 hours, so
Again, when he travels 130 km by train and the rest by car
a + b = ................(3)
For 60 and 240, LCM is . Using the elimination method,
x = km/hr and y = km/hr.
So, speed of the train was km/hr and speed of the car was km/hr.