The meterstick and the rock have equal mass.
Work Step by Step
The meterstick’s CM is at the 50-cm mark. We can treat the weight of the meterstick as though its entire mass is concentrated there. The meterstick’s weight, applied 25 cm to the right of the pivot, balances the rock’s weight that is applied 25 cm to the left of the pivot. The masses are equal.