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

$y ' = {e}^{x {\left(3 {x}^{2} + 2 x - 1\right)}^{2}} \left[1 \cdot {\left(3 {x}^{2} + 2 x - 1\right)}^{2} + x \cdot 2 \left(3 {x}^{2} + 2 x - 1\right) \cdot \left(6 x + 2\right)\right] =$
$= {e}^{x {\left(3 {x}^{2} + 2 x - 1\right)}^{2}} \left(3 {x}^{2} + 2 x - 1\right) \left(3 {x}^{2} + 2 x - 1 + 12 {x}^{2} + 4 x\right) =$
$= {e}^{x {\left(3 {x}^{2} + 2 x - 1\right)}^{2}} \left(3 {x}^{2} + 2 x - 1\right) \left(15 {x}^{2} + 6 x - 1\right)$.