Two blocks A and B of masses 2 m and m, respectively, are connected by a massless and inextensible string. The whole system is suspended by a massless spring as shown in the figure. The magnitudes of acceleration of A and B immediately after the string is cut, are respectively
After string is cut, free body diagram of block A gives
Free body diagram of block B gives