I'm given a joint probability density function of X and Y.
$$f(x, y)=c \mathrm{e}^{-y}|y-x|, \quad y>0 \text { and }-1 \leq x \leq 1$$
After normalizing I obtain $c = \frac{1}{\frac{-2}{e}+3}$. Now I am interested in the marginal densities of X and Y. How do I obtain these? I know to integrate with respect to each of the variables.