Given that,
Length of train l=50m
Speed v=10m/s
Length of bridge l2=250m
Now, total distance is
D=50+250
D=300m
Now, time
v=Dt
t=Dv
t=30010
t=30s
Now, to cross the bridge pole
Distance is
D=250−50
D=200m
Now, the time taken to cross pole is
V=Dt
t=Dv
t=20010
t=20s
Hence, the time is 30 s and 20 s