To find the expected number of unsharpened colored pencils in the basket, we can use the information provided.
Avery selected 50 colored pencils, and out of those, 2 were unsharpened. This gives us a proportion of unsharpened pencils in the sample:
\[ \text{Proportion of unsharpened pencils} = \frac{2}{50} = 0.04 \]
If the basket contains 300 colored pencils, we can now use this proportion to estimate the expected number of unsharpened pencils in the entire basket:
\[ \text{Expected number of unsharpened pencils} = 0.04 \times 300 = 12 \]
So, the expected number of unsharpened colored pencils in the basket is 12.