A candy company distributes boxes of chocolates with a mixture of creams, toffees and cordials. Suppose that the weight of each box is 1 kilogram, but the individual weights of the creams, toffees and cordials vary from box to box. For a randomly selected box, let X = weight of creams and Y =weights of the toffees and the pdf is described as:
f(x,y) = 24xy- for (0<=x<=1), (0<=y<=1), (x+y<=1)
0 elsewhere
Find the marginal density for the weight of the creams.