let total be number of units
how to use the correct number of units is to get lowest common multiple of all the fractions denominator (5, 9, 3) → 45
let total be 45u
"3/5 of the beads were red beads and the rest were green beads."
red beads at first → 3/5 x 45u = 27u
green beads at first → 45u - 27u = 18u
"She used 5/9 of the red beads"
red beads used → 5/9 x 27u = 15u
"and 1/3 of the green beads to make a necklace."
green beads used → 1/3 x 18u = 6u
total used → 15u + 6u = 21u
total used fraction → 21 / 45 = 7 / 15
total left fraction → 1 - 7/15 = 8/15
8/15 total → 136 1/15 total → 136 ÷ 8 = 17 15/15 total → 15 x 17 = 255