let's say the Eastbound train is going at a rate of "r" mph, since we know the Westbound train is going faster 12 miles more than that, then the Westbound train must be going "r+12".
we also know that after 4 hours, both of them were 760 miles apart, so