1. 令 X為一隨機變數,其機率密度函數為

\[ f(x) = \begin{cases} (x+1)/2, & \text{if } -1 < x < 1, \\ 0, & \text{otherwise.} \end{cases} \]
試求隨機變數 \( Y = X^2 \) 的機率密度函數。(10 分)