# How do you find the integral of (x^2)(e^(x-1))?

I found ${e}^{x - 1} \left[{x}^{2} - 2 x + 2\right] + c$