Let's use the work-energy theorem, which says:K=W⇒K=F×s…(i)Here, K is kinetic energy, F is force, and s is distance.When a force acts and the body starts from rest, the distance s covered in time t is:s=21​at2Since acceleration a=mF​ (where m is mass), we get:s=21​×mF​×t2Now, substitute s from (ii) into our equation (i):K=F×21​×mF​×t2So, K=2mF2​t2We are told both bodies A and B get the same kinetic energy ( KA​=KB​ ) using the same force F=40N, but their masses and times are different.Set up the equation for both bodies and compare:2mA​F2​tA2​=2mB​F2​tB2​You can cancel out F2 and 21​ because they are the same:mA​tA2​​=mB​tB2​​Rearrange to solve for time ratio:tB2​tA2​​=mB​mA​​Take the square root for the ratio tA​:tB​ :tB​tA​​=mB​mA​​​Plug in mA​=20kg and mB​=5kg :tB​tA​​=520​​=4​=2So, the ratio tA​:tB​=2:1.