A curve has equation \(y=(x^2+2x+2)e^{-x}\), where \(x\) is real.
Show that \(\frac{\mathrm{d}y}{\mathrm{d}x}=-x^2e^{-x}\).[3]
Find the coordinates of its stationary point and explain why it is neither a maximum nor a minimum.[2]
Use the second derivative near the stationary point to show that it is a stationary point of inflexion.[3]