The graph of a function $f(x)$ is shown in the figure.

For $f(x)$ to be a valid probability density function, the value of $h$ is

1. $1/3$
2. $2/3$
3. $1$
4. $3$