In figure m1=1 kg and m2=4 kg. Find the mass M (in nearest integer) of the hanging block which will prevent the smaller block from slipping over the triangular block (angle of wedge= 30o). All the surfaces are frictionless and the strings and the pulleys are light :