6 The random variable \(X\) has probability density function f given by
$$\mathrm { f } ( x ) = \begin{cases} \frac { 1 } { 6 } \mathrm { e } ^ { - \frac { 1 } { 6 } x } & x \geqslant 0
0 & \text { otherwise } \end{cases}$$
Find
- the distribution function of \(X\),
- the probability that \(X\) lies between the median and the mean.