A variable X is distributed in the interval {x:0x3} according to the probability density function
ρ(x)= 2 27 (6+x- x2 ).

Find the mean, the median and the mode of the distribution.