5 A continuous random variable \(X\) has probability density function given by
$$f ( x ) = \begin{cases} \frac { 1 } { 6 } x & 2 \leqslant x \leqslant 4
0 & \text { otherwise } \end{cases}$$
- Find \(\mathrm { E } ( X )\).
- Find the median of \(X\).
- Two independent values of \(X\) are chosen at random. Find the probability that both these values are greater than 3 .