Multiply the amount of people in the class by the fraction of the class that has blue eyes:
[tex]24 \times \frac{1}{6} = 4[/tex]
This is the amount of people in the class that have blue eyes.
24 as the denominator represents the total amount of people in the class. Because 4 is the amount of people that have blue eyes, you can set up a fraction with the amount of blue-eyed people as the numerator. The following fraction will be your answer:
[tex]\frac{4}{24}[/tex]