Distance = rate * time.
The car (who is driving it that slowly?) travels D = 26*6 = 156 miles in six hours.
The train overtakes that car at 50-26 = 24 MPH, and must make up 156 miles. 156 = 24*t and thus 156/24 = t = 6.5 hours.
Hope the solution helped. Sometimes you need more than a solution. Contact fcabanski@hotmail.com for online, private tutoring, or personalized problem solving (quick for groups of problems.)