Data:
Green pencils: 31%
Total of pencils: 100%=60pencils
If the 100% is the total of the pencils you can find the number of green pencils with a rule of three:
7.8m questions
10.4m answers