Hello,

i) Remember that a pdf has to be a positive function. Hence the answer you're given is more likely to be correct than yours

so this is

just out from curiosity, which minus sign did you forget ?

ii) recall that for any continuous function, , where f is the pdf of the random variable X.

This formula applies here and you get :