Let x = distance traveled by train.  Then 315 - x = distance traveled by bus.
Distance = (Rate)(Time), so Time = distance/rate
(Time on the train) + (Time on the bus) = 6
So, x/50 + (315-x)/65 = 6
Multiply the equation by the LCD, 650:  13x + 10(315-x) = 3900
                                                           3x + 3150 = 3900
                                                                      3x = 750
                                                                        x = 250 miles
Time on the train = x/50 = (250 miles)/(50 miles/hour) = 5 hours
     
     
             
 
                     
                    