1) Ley Y be a continuous random variable pdf f(y) = 1 - abs(y) for abs(y) less than or equal to 1. Set X = Y^2. Give the range of X. Derive the cdf and pdf of X.

2) Let X be a continuous random variable with pdf f(x) = x/2 when 0 < x < 2. Let Y = 1/X. Find the pdf of Y.

They are similar problems probably requiring the same method, but I don't understand what I'm supposed to do.