(d) Show that the marginal density of $U_2$ is

$$f{U2}(u2) = \begin{cases} 1 + u2, & -1 < u2 < 0 \\ 1 - u2, & 0 \le u_2 < 1 \\ 0, & \text{otherwise.} \end{cases}$$