The joint pdf of the amount $X$ of almonds and amount $Y$ of cashews in a 1-lb can of nuts was:
$f(x, y) = \begin{cases} 24xy & 0 \leq x \leq 1,\, 0 \leq y \leq 1,\, x + y \leq 1\\ 0 & \text{otherwise}\end{cases}$
Obtain the marginal pdf of the amount $X$ of almonds in a 1-lb can.
What is the expected amount $E(X)$ of almonds?