A point Y is chosen at random from [0,1]. A second point X is then chosen from the interval [0,Y]. Find the density for X. Hint: Calculate fX∣Y as in Exercise 21 and then use
fX(x)=∫x1fX∣Y(x∣y)fY(y)dy.
Can you also derive your result geometrically?