A class sec 1B has 40 students, out of which 30 are boys and 10 are girls. 12 of the boys wear glasses and 8 girls wear glasses.