document.write( "Question 45536: Avoiding a collision. A car is traveling on the road that is perpendicular to a railroad track. When the car is 30 meters from the crossing, the car’s new collision detector warns the driver that there is a train 50 meters from the car and heading towards the same crossing. How far is the train from the crossing? Please show work as well as solution. Thank you. \n" ); document.write( "
Algebra.Com's Answer #30261 by Nate(3500)\"\" \"About 
You can put this solution on YOUR website!
Think of this as a right triangle.
\n" ); document.write( "The crossing is the point at which the right angle is located.
\n" ); document.write( "Crossing to car is a leg, and from the crossing to the train is the other leg.
\n" ); document.write( "Leg: 30
\n" ); document.write( "Leg: a
\n" ); document.write( "Hypotenuse: 50
\n" ); document.write( "\"c%5E2+=+a%5E2+%2B+b%5E2\"
\n" ); document.write( "\"2500+=+a%5E2+%2B+900\"
\n" ); document.write( "\"1600+=+a%5E2\"
\n" ); document.write( "\"40+=+a\"
\n" ); document.write( "40 meters from the crossing
\n" ); document.write( "
\n" );