3. Let $Y$ have a distribution function given by
$$F(y) = \begin{cases} 0, & y < 0 \\ 1 - e^{-y^2}, & y \geq 0. \end{cases}$$
Find a transformation $G(U)$ such that, if $U$ has a uniform distribution on the interval $(0, 1)$, $G(U)$ has the same distribution as $Y$. (10%)