a. In order for
to be a proper density function, its integral over its domain must evaluate to 1:

also must be non-negative over its support, which is the case here.
I assume the instruction regarding the distribution function doesn't apply to parts (b) and (c).
(b) Integrate the density over the interval [0.1, 0.2]:

(c) Integrate the density over the interval [0.5, 1]:

The distribution function is obtained by integrating the density:

(d) Using the distribution function, we have

(e) Using
again, we get

(f) The mean is
![E[X]=\displaystyle\int_{-\infty}^\infty x\,f(x)\,\mathrm dx=\int_0^12x(1-x)\,\mathrm dx=\frac13](https://tex.z-dn.net/?f=E%5BX%5D%3D%5Cdisplaystyle%5Cint_%7B-%5Cinfty%7D%5E%5Cinfty%20x%5C%2Cf%28x%29%5C%2C%5Cmathrm%20dx%3D%5Cint_0%5E12x%281-x%29%5C%2C%5Cmathrm%20dx%3D%5Cfrac13)
The variance is
![V[X]=E[(X-E[X])^2]=E[X^2]-E[X]^2](https://tex.z-dn.net/?f=V%5BX%5D%3DE%5B%28X-E%5BX%5D%29%5E2%5D%3DE%5BX%5E2%5D-E%5BX%5D%5E2)
where
![E[X^2]=\displaystyle\int_{-\infty}^\infty x^2\,f(x)\,\mathrm dx=\int_0^12x^2(1-x)\,\mathrm dx=\frac16](https://tex.z-dn.net/?f=E%5BX%5E2%5D%3D%5Cdisplaystyle%5Cint_%7B-%5Cinfty%7D%5E%5Cinfty%20x%5E2%5C%2Cf%28x%29%5C%2C%5Cmathrm%20dx%3D%5Cint_0%5E12x%5E2%281-x%29%5C%2C%5Cmathrm%20dx%3D%5Cfrac16)
so that the variance is
![V[X]=\dfrac16-\left(\dfrac13\right)^2=\dfrac1{18}](https://tex.z-dn.net/?f=V%5BX%5D%3D%5Cdfrac16-%5Cleft%28%5Cdfrac13%5Cright%29%5E2%3D%5Cdfrac1%7B18%7D)