The two dice were thrown. $X$ is random variable of the amount of 5 in throw. $Y$ is a random variable of 6 in throw. Compute $\mathrm{cov}(X,Y)$.
I suppose, that for $E(X)$ and $E(Y)$ we should use the expected value formula for binomial coefficient, and that gives us $\frac{1}{3}$ (I am also not sure in this answer).
But how we calculate $E(XY)$?
Hint:
You should be able to work any of these statistics from a probability table:
For example $E[X]= 0 \times \frac{25}{36}+1 \times \frac{10}{36} +2 \times \frac{1}{36} = \frac13$, and similarly for $E[Y]$, as you found.