Distribution Functions



If X and Y denote a random sample of size 2 from a distribution with p.d.f. f(x) = 1, 0<x<1, zero elsewhere. Find the distribution function and the p.d.f. of Z = X/Y.

I found the distribution function to be g(y) = 1/2 from 0<y<1.

From this how do I find the p.d.f. of Z = X/Y??
.