Blue
P(blue) = 307 / 1000 = 0.307
Green
P(Green) = 642/1000 = 0.642
Yellow
P(Yellow) = 51/1000 = 0.051
To make the denominator 20, you are going to have to divide both numerator and denominator by 50. 1000/50 = 20
Blue= 307/50 = 6.14; P(blue) 6.14/20
Green = 642/50 = 12.84; P(blue) = 12.84 / 20
Yellow = 51/50 = 1.02; P(yellow) = 1.02/20
Check
Add these three together
1.02 + 12.84 + 6.14 = 20 as it should.