The probability density function, f, of a random variable \(X\) is given by
$$\text{f}(x) = \begin{cases} k(6x - x^2) & 0 \leq x \leq 6, \\ 0 & \text{otherwise,} \end{cases}$$
where \(k\) is a constant.
State the value of \(\text{E}(X)\) and show that \(\text{Var}(X) = \frac{9}{5}\). [6]