You need to find the pdf of the random variables:

1.

2.

where it's known that the pdf of X is for 0 < x < 2 and 0 otherwise.

You do NOT make a direct substitution. One way of doing it is to first find the cdf of each and then differentiate. What have you been taught about transforming random variables?