Answer: There are 10 boys and 7 girls in the class.
Explanation:
Let x be the number of boys and y be the number of girls then according to the question we have the following equations :-

The value of y from (1) will be
, substitute this in equation (2), we get

∴

Hence, there are 10 boys and 7 girls in the class.