To find the expected number of unsharpened colored pencils in the basket, we first need to determine the proportion of unsharpened pencils based on the sample that Avery selected.
Avery selected 50 colored pencils and found that 2 of them were not sharpened. Thus, the proportion of unsharpened pencils in the sample is:
\[ \text{Proportion of unsharpened pencils} = \frac{2}{50} = 0.04 \]
Next, we can apply this proportion to the total number of colored pencils in the basket, which is 300. The expected number of unsharpened pencils in the entire basket is:
\[ \text{Expected number of unsharpened pencils} = 0.04 \times 300 = 12 \]
Therefore, the correct answer is:
12