Suppose that $X$ and $Y$ are continuous random variables with joint density function given by the rule
$$
f(x, y)= \begin{cases}k(x+y) & \text { for } 0 \leq x \leq 2,0 \leq y \leq 2 \\ 0 & \text { elsewhere }\end{cases}
$$
(a) find $k$
(b) find the marginal density functions of $X$ and $Y$
(c) find the conditional density function of $X$, given that $Y=1$
(d) find the conditional density function of $X$, given that $Y=\frac{1}{2}$
(e) ale $X$ and $Y$ independent?
(f) find $E(X), E(Y), E(X Y), \operatorname{cov}(X, Y)$, and $\rho$.