(1) Recall formula for expectation of a continuous random variable:


(2) Use formula to find an equation relating and :


(3) Integrate the PDF to get a second equation:

Since integrating a PDF should yield :


(4) Solve system of equations for and :

Isolating in the second equation yields .

Plugging this into the first equation yields .

Solving for yields , and thus .


(5) Compute variance:

Using , first compute :

So: