Question 328233
Set up a right triangle and use the Pythagorean theorem {{{A^2+B^2=C^2}}}.
One leg is from the car to the crossing.
One leg is from the train to the crossing.
The hypotenuse is from the car to the train.
{{{30^2+B^2=50^2}}}
{{{900+B^2=2500}}}
{{{B^2=1600}}}
{{{B=40}}}
The train is 40m from the crossing.