Let X and y be independent random variables, and obey the uniform distribution on the interval (0,2), then the probability density of Z = x / y is obtained

Let X and y be independent random variables, and obey the uniform distribution on the interval (0,2), then the probability density of Z = x / y is obtained

Solution by distribution function method
f(x)=1/2,0