Suppose X has the geometric pmf $f_X(x) = \frac{1}{3}(\frac{2}{3})^x, x=0, 1, 2, ...$ Determine the probability distribution of $Y = \frac{X}{(X+1)}$. Note that here both X and Y are discrete random variables. To specify the probability distribution of Y, specify its pmf.
What I have tried:
$Y = g(X)$, where $g(X) = \frac{X}{X+1}$ that is $Y = \frac{X}{X+1}$ and so we have $x = \frac{y}{1-y}$. Thus $g^{-1}(y)$. $$\begin{align}f_Y(y) &= \sum_{x \in g^{-1}(y)}f_X(x) \\ &= f_X \left(\frac{y}{1-y} \right) \\ &= \frac{1}{3}\left(\frac{2}{3} \right)^{\frac{y}{1-y}} \end{align}$$
I have identified $g^{-1}(y)$ for each $y \in Y$, now I have to sum the appropriate probabilities.
A similar question has been asked here. However they summed values in respect to X, I'm not certain about that approach as it hasn't been accepted. How do I proceed from here?