Consider $f_X(x) = 1/2+x$ where $0 <x\leq 1$. We want to find the pdf of $Y=X^{-1}$ by utilizing the following transformation.
$$f_Y(y) = \int_0^1 f_X(x) \delta (y - g(x)) dx$$
Where $u =g(X) = Y$.
From my understanding we can represent $x$ as $x=g^{-1}(g(x))$ and then we can write $dx$ as $dx = \frac{d(g(x))}{dx}dx \implies dx=-x^2du$. Since $x \in (0,1]$, we can conclude that $y \in [1,\infty)$. So we can rewrite our expression as:
$$f_Y(y) = \int_1^\infty f_X(g^{-1}(g(x))) \delta (y - g(x)) (-\frac{1}{y^2})du$$ However, after this point I don't really know how to continue. Yes I can factor out a negative sign, but i just don't see what my next step is. Any ideas?