Since the locomotive moves with a constant deceleration after the application of brakes, it will come to rest in t = v/a = 50 s, during which it will cover a distance s = v2/(2a) = 375 m. Thus, in 1 min after the application of brakes, the locomotive will be at a distance l = L - s = 25 m from the traffic light.