I came across the following problem in a book I was reading on continuous probability distributions:-
$Q.$ Let $Y$ be uniformly distributed on $(0,1)$. Find a function $\phi$ such that $\phi(Y )$ has the gamma density $\Gamma(\frac12,\frac12)$.
I know that the probability density represented by $\Gamma(\frac12,\frac12)$ is the following:-
$$\Gamma\left(\frac12,\frac12\right)=\begin{cases}\frac1{\sqrt{2\pi x}}.e^{-\frac x2} &&&& x \ge 0 \\ 0 &&&& x <0\end{cases}$$
I don't have any idea what to do after this. I would also like to have insight on similar questions.