document.write( "Question 208037: A car is traveling on a road that is perpendicular to a railroad track. when the car is 30 meters from the crossing, the car's collision detector warns that there is a train 50 meters from the car and heading toward the same crossing. How far is the train from the crossing? \n" ); document.write( "
Algebra.Com's Answer #157356 by rapaljer(4671)\"\" \"About 
You can put this solution on YOUR website!
This is a right triangle, so let x = distance of train down the track.
\n" ); document.write( "\"30%5E2+%2B+x%5E2+=+50%5E2\"
\n" ); document.write( "\"900+%2B+x%5E2+=+2500\"
\n" ); document.write( "\"x%5E2+=1600\"
\n" ); document.write( "\"x=+40\" or \"x=-40\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Reject the negative value.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x= 40 meters\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "R^2
\n" ); document.write( "
\n" );