
I have a problem to solving this,
Because I think that for solving this problem, I need to calculate cdf of standard normal distribution and plug Y value and calculate.
However, at the bottom I found that Integral from zero to infinity of 1 goes to infinity and I cannot derive the answer. Can you tell me what's the problem and what can I do? I appreciate for your help in advance:)
You have managed to state a closed form for $F_x(x)$.
This is not in fact possible for a normal distribution, so you have an error in your integral about a third of the way down: the integral of $\displaystyle e^{-\frac12 t^2}$ is not $\displaystyle -\frac{1}{t} e^{-\frac12 t^2}$
There is an easier solution, but it uses a shortcut which your teacher might not accept here:
For a non-negative random variable, you have $E[Y] = \displaystyle\int_{t=0}^\infty \Pr(Y \gt t) dt$.
$X^2$ is indeed non-negative, so you want $E[X^2]$.
For $X$ with a standard $N(0,1)$ Gaussian distribution, $E[X^2]=1$.