I have a PDF $$ f_X(x) = \frac{1}{4}(x+1), \ \ \ \ \ \ \ \ \ 0 < x < 2 $$ I would like to use $$Z = \frac{9}{(X+1)^2}$$ and find a new PDF.
Since, $z = g(x) = 9/(x+1)^2$ is monotone increasing, I thought I can use the following formula ($X$ has pdf $f_X(x)$ and let $Y=g(X)$) $$ f_Y(y) =\begin{cases} f_X(g^{-1}(y)) \left| \frac{d}{dy} g^{-1}(y) \right| & y \in \mathcal{Y} \\ 0 & otherwise \end{cases} $$
What I got is:
$$
f_Z(z) = \frac{1}{4} \left( \frac{9}{(z+1)^2} + 1 \right) \cdot \left| \frac{-9\cdot2(x+1)}{\left\{ ((z+1)^2 \right\}^2} \right|
$$
But it seems it's quite different from the answer, $f_Z(z) = 9/(8z^2),\ 1