Two cars start from the same place at the same time but in opposite directions. Their speeds are 80 km/h and 65 km/h. After how long will they be 580 km apart?

A. 4 hours
B. 5 hours
C. 6 hours
D. 7 hours