To find the expected number of unsharpened colored pencils in the basket of 300, we can set up a proportion based on the selection of 50 pencils.
In the selection of 50 colored pencils, Avery found that 2 were not sharpened. This gives us a proportion of unsharpened pencils in the sample:
\[ \text{Proportion of unsharpened pencils} = \frac{2 \text{ unsharpened}}{50 \text{ total}} = \frac{1}{25} \]
Now, we can calculate the expected number of unsharpened pencils in the total of 300 colored pencils by applying this proportion:
\[ \text{Expected number of unsharpened pencils} = \frac{1}{25} \times 300 = 12 \]
So the expected number of unsharpened colored pencils in the basket is 12.