A truck traveling 45 miles per hour and a train traveling 60 miles per hour cocer the same distance. The truck travels 2 hours longer than the train. How many hours does the each travel? What equation would represent the total distance traveled by both the train and the truck?