Question 253698
Given, two trains leave pitsburg at the same time, one traveling east and the other traveling west. the eastbound train travels at 40miles per hour, and the westbound train travels at 30 miles per hour. 
Let T represent the amount of time since their departure.

Distance moved by the train travelling due east = 40T miles
Distance moved by the train travelling due west = 30T miles
Since they move in opposite directions, 
the distance between them in T hours = 40T+30T = 70T miles
If the distance between them is 245 miles, then
                          70T = 245
                            T = 245/70
                            T = 3h 30m