Can anyone please explain the solution to this problem?

Answer:
the mass will move to the right
Explanation:
it is asking for the centre of mass of the block and triangle since the block is moving down toward the right the mass will change to move right