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