The question is
Let $X$ be a continuous random variable with pdf $f_X(x) = 2(1 − x)$, $0 ≤ x ≤ 1$. If $Y = 2X − 1$, find the pdf of $Y$.
I understand these steps$$F_Y(Y ≤ y) = P(2X-1 ≤ y) = P(X ≤ (y+1)/2) = F_X((y+1)/2)$$
I do not understand how to get the pdf of $Y$ from this. I know that we are supposed to differentiate both sides with respect to $y$, but I do not understand what that means.