When we attempt a transformation to a new variable x→y we have to conserve the probability p(y)dy=p(x)dx, which for the uniform distribution implies p(y)dy=dx. Let us assume that p(y) is a PDF different from the uniform PDF p(x)=1 with x∈[0,1]. If we integrate the last expression we arrive at x(y)=∫y0p(y′)dy′, which is nothing but the cumulative distribution of p(y), i.e., x(y)=P(y)=∫y0p(y′)dy′.