What is the derivative of e^(-2x+x^2)?

$\left(2 x - 2\right) {e}^{- 2 x + {x}^{2}}$
$\frac{d}{\mathrm{dx}} {e}^{- 2 x + {x}^{2}} = \left(- 2 + 2 x\right) {e}^{- 2 x + {x}^{2}} = \left(2 x - 2\right) {e}^{- 2 x + {x}^{2}}$