The question goes:

Suppose the continuous random variable X has a probability density function (PDF)

i) Show that for X to be a valid PDF, must be equal to .

ii) Calculate .

For part i) I keep getting , not for , and I just can't fathom out part ii)