One train runs from A to B at 105 miles per hour, the other runs from B to A at 85 miles per hour. How far apart were the two trains 30 minutes prior to their crossing?

Trains
One train runs from A to B at 105 miles per hour, the other runs from B to A at 85 miles per hour. How far apart were the two trains 30 minutes prior to their crossing?