Consider the random variables $X$ and $Y$ with joint density function
$$
f(x, y)=\left\{\begin{array}{ll}
x+y, & 0 \leq x, y \leq 1, \\
0, & \text { elsewhere. }
\end{array}\right.
$$
(a) Find the marginal distributions of $X$ and $Y$.
(b) Find $P(X>0.5, Y>0.5)$