Find the value of $\lambda$ such that the function $f(x)$ is a valid probability density function _______

$f(x) = \begin{cases} \lambda (x-1)(2-x) & \text{for } 1 \leq x \leq 2 \\ 0 & \text{otherwise} \end{cases}$