A diesel train traveled to the repair yards and back. It took two hours longer to go there than it did to come back. The average speed on the trip there was 70 km/h. The average speed on the way back was 80 km/h. How many hours did the trip there take?
A) 15
B) 16
C)25
D) 10