A uniform metre rule of mass 100g balance at the 40cm mark when a mass X is placed at 10cm mark. What is the value of X?

(100 g)(40 cm) = (x g)(10 cm)

4000 = 10x
x = 400