The density function of a continuous random variable X, the total number of hours, in units of 100 hours, that a family runs a vacuum cleaner over a period of one year is described by the following probability density function.
x for < x < 1
f(x) = 2-x for 1 <=x<2
0 elsewhere
a. Plot the PDF and CDF between the values of 0 < x < 2.