The total amount of students is 35. That would be the denominator because you're finding out the male students out of the whole class. 17 + 18 = 35. The numerator is 17 because that's the amount of males in the class. Therefore, leading to the answer being 17/35.