Hello, I need to get the expected value of a chi-squared distribution with one degree of freedom, using the following formula with the pdf:

So,

I have no idea how to deal with that integral. I know that there are easier ways to do it, but I am supposed to solve it using this integral. Thanks in advance.