Question:

Suppose that random variables X and Y have a joint density function given by

$\displaystyle f_{X,Y} (x,y)=\left\{\begin{array}{cc}x+y,&\mbox{ for }

0 \leq x\leq 1, 0\leq y\leq 1\\0, & \mbox{ otherwise } \end{array}\right.

$

$\displaystyle a) \mbox {Find the density functions of X and Y,} i.e., f_X(x) \mbox {and} f_Y(y)$

$\displaystyle b)\mbox {Find E[X] and }Var[Y]$

What I have done so far:

Frankly I have been staring at this problem for a while. I'm not sure where to start. I cannot apply the following definition for joint probability functions

$\displaystyle f_{X,Y}(x,y)=f_X(x)\bullet f_Y(y)$ as the probability function is not independent. Anyone care to point me in the right direction? Once I could get it figured out, I can solve for b.

PS. Please don't post any solutions as it defeats the whole purpose of asking for help, I won't learn anything that way.