Probability density function problem

Question

Hints

Answer