now u may ask why acceleration of mass m is twice then of mass M the reason is this let lenght of string joining M to the wall=X1 let lenght of string joining the two pulleys on the wall=X2 let lenght of string joining the pulley on the wall to the pulley attached to the mass M be=X3 let lenght of pulley joining mass m to the pulley on M=x4 now from figure X1=X3=X now string is inextensible so its whole lenght must be constantlet it=L so X1+X2+X3+X4=2X+X2+X4=L............5 diifenciate it w.r.t time u will get 2V+V4=0..............6 as X2 and L are constant here V is representing velocity of M and V4 velocity of m again differenciate it w.r.t time 2a+a4=0 here a is acceleration of M and a4 is acceleration of m so a4=-2a minus sign has no significant