We know that there are 10 students with brown eyes, which means they represent 40% of the class. We have to find 100% of the students using the following proportion.
[tex]\begin{gathered} \frac{10}{x}=\frac{40}{100} \\ x=\frac{100\cdot10}{40} \\ x=25 \end{gathered}[/tex]