Initially under equilibrium of mass m :T=mgNow, the string is cut. Therefore, T=mg, force is decreased on mass m upwards and downwards on mass 2m.∴am​=mmg​=g(downwards)anda2m​=2mmg​=2g​(upwards)