You're probably expected to use theprobaility integral transform theorem, which states that:

Suppose that X is a continuous random variable with continuous cdf F(x) and suppose that Y is a continuous standard uniform random variable. Then is a random variable with the same pdf as X.

There are many references that give the proof and application of this theorem. There have also been questions in this subforum related to this theorem.