Recall your d = rt, distance = rate * time
so... one train goes west and the goes the opposite way... alrite... so... notice, by the time 338 miles have been covered by both, it will have been "t" hours, and whatever "t" is, is the same amount of time the westbound train has been running as well as the eastbound train has been running.
now, let's say, since by "t" hours they've covered 338 altogether, so, if the westbound train has covered say "d" miles, then the eastbound train would have covered the slack from 338 and d, that is, "338 - d".

so, 2hours and 36 minutes.
A is the answer. Reflection and rotation.
I think it might be f^-1 (x) = x/2 - 3/2
I hope this helps!
can be simplified as 5-9+7=-4+7=3