Given, Ratio of boys to girls = 3:5 Let the number of boys = 3x Let the number of girls = 5x Also given, total number of students in class = 40 So, 3x +5x = 40 8x = 40 x = 40/8 x = 5 Therefore, number of girls in the class = 5(5) = 25 Number of boys in the class = 3(5) = 15