This is LaTeX code:
[latex]
\mathbb{E}[XY]=n(n-1)p_1p_2
[/latex]