Suppose that the pdf of a random variable X is as follows:

f(x)= 1/2 x for 0<x<2

0 otherwise

Also, suppose that Y=X(2-X). Determine the df and the pdf of Y.

I am new to this and very clueless and the book is not helping at all, if anyone could help explain how to start this problem to me. Thank you