How do you differentiate f(x)=1/sqrt(e^(-x^2+x)  using the chain rule?

f' (x)=((2x-1)(e^(-x^2+x)))/(2(e^(-x^2+x))^(3/2)
$f ' \left(x\right) = \left(- \frac{1}{2}\right) {\left({e}^{- {x}^{2} + x}\right)}^{-} \left(\frac{3}{2}\right) \cdot \left({e}^{- {x}^{2} + x}\right) \left(- 2 x + 1\right)$