5 Two discrete random variables \(X\) and \(Y\) have a joint probability distribution defined by
$$\mathrm { P } ( X = x , Y = y ) = a ( x + y + 1 ) \quad \text { for } x = 0,1,2 \text { and } y = 0,1,2 ,$$
where \(a\) is a constant.
- Show that \(a = \frac { 1 } { 27 }\).
- Find \(\mathrm { E } ( X )\).
- Find \(\operatorname { Cov } ( X , Y )\).
- Are \(X\) and \(Y\) independent? Give a reason for your answer.
- Find \(\mathrm { P } ( X = 1 \mid Y = 2 )\).