A uniform metre rule of mass 100g balance horizontally on a knife-edge at the 40cm mark when a mass x is placed at 20cm mark.

(x+40)*20 = 60*30