Let $X_1$ ~ uniform(0,1) and $X_2$ ~ uniform(0,1). Given that $X_1$ and $X_2$ are independently distributed:
A) Determine the joint probability density function of $X_1$ and $X_2$.
B) Let $Y = X_1 + X_2$ and $Z = X_2$. Determine the joint pdf of Y and Z.
C) Also, determine that marginal density of Y.
I found A to be
$f(x_1, x_2) = 1$ for 0 < x < 1 and 0 < y < 1, 0 otherwise
I found B to be
$f(y, z) = 1$ for 0 < y-z < 1 and 0 < z < 1, 0 otherwise
Am I on the right track? Any tips on how to approach part C?