A Year 8 class of boys and girls contains x students, of which 16 are boys. The number of girls in the class is