(For the alternative solution) Rewrite 6 x 3 e − x 2 {\displaystyle 6x^{3}e^{-x^{2}}} as a product so that one of the factors is the derivative of e − x 2 {\displaystyle e^{-x^{2}}} and use integration by parts.