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

Then


and the variance is

I attached an image with the complete question
Answer:Fraction of bread used in the recipe is 3/12 which can be further simplified into 1/4
Explanation:The original loaf of bread is 100% complete (no fraction is taken from it yet). This means that the value of the original loaf is 12/12
Now, assume that the fraction used in the recipe is x
We know that:
2/12 of the loaf was used in making a sandwich
7/12 of the oaf was put in the refrigerator
Therefore:
complete loaf = fraction used in making a sandwich + fraction used in making recipe + fraction put in refrigerator
12/12 = x + 2/12 + 7/12
12/12 = x + 9/12
x = 12/12 - 9/12
x = 3/12
Hope this helps :)
The Y intercept is: (0,7)