30 - Two trains in perpendicular railroad tracks

Problem 30
Two railroad tracks intersect at right angles, at noon there is a train on each track approaching the crossing at 40 mi/hr, one being 100 mi, the other 200 mi distant. Find (a) when they will be nearest together, and (b) what will be their minimum distance apart.
 

Solution 30