Suppose that $X$ is a given distribution. for an arbitrary increasing function $F_{Y}$ such that $\lim_{y \to \infty} F_{Y}(y)=1$ and $\lim_{y \to -\infty} F_{Y}(y)=0$, find the function $g$ such that if $Y=g(X)$, then $g$ is the CDF for $Y$.
My idea was to use the claim that is proved here, but I couldn't get what to do.