Question 40999
If you draw the diagram, you'll see that it's a right triangle, with legs measuring 30 ft and 40 ft and a hypotenuse of 50 ft (a^2 + b^2 = c^2)...thus the train is 40 ft from the crossing...