Ram travels 760 km to his home, partly by train and partly by car. He takes 8 hours if he travels 160 km by train and the rest by the car. He takes 12 minutes more if he travels 240 km by train and the rest by car. Find the speed of the train and the car separately.

Iraa K's image