Question 169352
this is a right triangle problem so pathorean theorem states {{{a^2+b^2=c^2}}}

c is the hypothenuse and  is the distance the car is to the train (50 meters)
:
we will call one of the legs, lets say a, the distance the car is from the crossing (30 meters). So we are looking for b the distance the train is from the crossing

{{{30^2+b^2=50^2}}}
:
{{{900+b^2=2500}}}
:
b^2=1600
:
{{{highlight(b=40)}}} the distance the train is from the crossing