I evaluated the Gaussian integral using polar substitution, and got that it is $\sqrt{\pi}$.
But my professor also asked us to compute the integral from $\int_{-\infty}^{\infty} e^{\frac{-x^2}{2}} dx$ and the integral from $\int_{0}^{\infty} x^2 e^{-x^2} dx$ using the evaluation of the Gaussian integral. How do I do that using my answer for the first part?