The mass of wedge shown in figure is M and that of the block is m. Neglecting friction at all the places and mass of the pulley