I know my answer is incorrect because I end up with a pdf that doesn't integrate to $1$.
Given that $X$ and $Y$ are continuous RV's with joint density function:
$$f_{X,Y}(x,y) = \begin{cases}24xy \text{} \begin{cases} 0 < x < 1 \\ 0< y < 1 \\ 0 < x + y < 1\end{cases} \\ 0 \text{ otherwise}\end{cases}$$
Find the probability density of $Z = X + Y$.
My attempt:
Define $W = Y$ so that:
$$\begin{matrix} x = z - w, \ \ \ y = w \\z = x + y,\ \ \ w=y \ \end{matrix}$$
That means:
$$f_{Z,W}(z,w) = \begin{cases}24(z-w)w \left\vert{\dfrac{\partial(x,y)}{\partial(w,z)}}\right\vert \begin{cases} 0 < w < 1 \\ 0< z < 1 \end{cases} \\ 0 \text{ otherwise}\end{cases}$$
Calculating the determinant of the Jacobian gives
$$\begin{vmatrix} x_z \ x_w \\ y_z \ y_w \end{vmatrix} = \begin{vmatrix} 1 \ -\!1 \\ 0 \ \ \ \ 1 \end{vmatrix} = 2$$
Meaning
$$f_{Z,W}(z,w) = 48(zw-w^2)$$
So I should get the p.d.f. by integrating this over $w$
$$f_Z(z) = \int_0^1 48(zw-w^2) \, \mathrm dw = 48\left.\left({\frac {zw^2}{2}-\frac{w^3}{3} }\right)\right \vert_{w=0}^{w=1} = 24z - \frac {48} 3$$
but this is not a probability density function :(
Corrections: Determinant of jacobian is $1$ and limits of the integral should be $0$ to $z$. You didn't use $0 < x < 1 \implies 0 < z-w<1$.