Taking moments about the pivot,
Anti-clockwise moment = Clockwise moment.
The weight of the ruler (let it be X) at the 50cm mark acts
like the 240g mass. If you do not want to be confused, convert all
the values to their SI units. So we have:
240g x (20-5)cm = XN x (50-20)cm
NOTE: The perpendicular distance from the pivot is not read off
directly from the metre rule.
=> 0.24kg x 0.15m = XN x 0.3m
2.4 N x 0.15m = XN x 0.3m
0.36 Nm = 0.3X Nm
X = 1.2N
=
0.12kg
=
120g
Basically everything that ^tamago^ has did :)