A block of mass m kg is suspended by a string attached with a 2m kg mass block. The 2m mass block is suspended by a spring as shown in the figure. The system is initially at equilibrium and rest. The spring and string are massless. Now the string is cut. The accelerations of mass 2m and m just after the string is cut will be