He can put 72 pencils into the 12 boxes, 6 pencils in each box, and he will have 4 pencils left over. So then he can put 1 pencil in each box so all 76 of the pencils will be in a box. But 4 of the boxes will have 7 pencils and the other 8 will have 6.