From Newtons second law of motion, F=ma where m is mass and a is acceleration.
Given, F=1000N,m=100kg ∴a=1001000=10m/s2
From equation of motion,
we get v=u+at
Where v is final velocity and u is initial velocity.
Given, v=25m/s,u=5m/s ∴25=5+10t ⇒t=1020=2s ,