6. (10%) Find the local extrema of \( f(x) = x^{2}e^{-x} \).