A train travels 730 miles to reach its destination. It travels the first 160 miles at the speed of 40 miles/hour then the next 570 miles at the speed of 57 miles/hour. How much total time does the train take to reach its destination?