When crossing the platform, the total distance is the train's length plus the platform's length, so 12v equals the train's length plus 400. When passing the man running in the opposite direction, their relative speed is v + 5, and the distance is just the train's length, so the train's length equals 16(v + 5). Substituting the second equation into the first gives 12v = 16v + 80 + 400, which simplifies to 4v = -480, yielding a speed of 120 meters per second. The time to cross a pole is the train's length divided by v. The train's length is 16(120 + 5) = 2000 meters. The time taken is 2000 / 120, which equals 50 / 3 seconds.