Work done = Change in kinetic energy
Kinetic energy is given by the expression,(Ek)v=12mv2
where,
(i) Kinetic energy when the object was moving with a velocity 5 ms−1
(Ek)5=12×20×(5)2=250 J
(ii) Kinetic energy when the object was moving with a velocity 2 ms−1
(Ek)2=12×20×(2)2=40 J
The work done by the force = (Ek)2−(Ek)5
= 40 J−250 J
= −210 J
The negative sign indicates the retarding nature of the applied force.