Use the definitions of expectation and variance.
Integrate by parts,
with
Then
(since the integral of the PDF is 1, and this integral is 4 times that)
Compute the so-called second moment.
Integrate by parts, with
and the variance is
1.6m questions
2.0m answers