What this means is that jelly bean 6, 17, and 21 were considered to be red ones. Based on this sample of 15 you would expect 1/5th of the beans to be red. This is the sample proportion. The real proportion is .171.
Using 20% as the estimate the predicted number of red beans would be 28.