A variable $X$ is distributed in the interval $\{x:0 \leq x \leq 3\}$ according to the probability density function $$\rho(x) = {2\over 27}\big(6+x-x^2\big)$$ Find the mean, the median and the mode of the distribution.