Density for problem 1a