In Ms. Gonzalez 3rd period class of 20 students, 75% students have an older sibling. How many students are in the class?

A box of colored candies contains 9 red candies. Twenty percent of the candies in the box are red. How many candies are in the box?

I'd say there are 20 students, as you just pointed out.

If the box has x candies, then
0.20x = 9
x = 45