Two block A and B of mass M & 3M are connected through a light string. One end of the string is connected to the blcok B and its other end is connected to a fixed point S as shown in fig. Now a force F is applied to block B. find the acceleration of block A & B.