\int x^2 e^{x} dx = \left(x^2 - 2x + 2\right) e^{x} + C