Let x = distance from fulcrum to 300 gram mass and 1-x = distance from fulcrum to 30 gram mass (meters)
Set this up as a moment problem and the governing equation is:
You can convert to weights with .3 kg(9.8 m/s2) = weight at the 0 mark
and .03 kg(9.8 m/s2) = weight at the 100 cm mark
Then
2.94x = .294(1-x) or x = .090909...meters = 9.0909... cm