Supose Y is a continuous random variable with cumulative distribution function G,

(i) find the distribution of the random variable B = G(X)

(ii) if U is uniform (0,1) find the distribution of Y = F^-1(U).

Comment on a potential use for each of these results.