Three bricks each of length L and mass M are arranged as shown from the wall. The distance of the centre of mass of the system from the wall is