Assignment:
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 new collision detector warns the driver that there is a train 50 meters from the car and heading toward the same crossing. How far is the train from the crossing?
Provide complete and step by step solution for the question and show calculations and use formulas.