This is LaTeX code:
[latex]
P(x_1,x_2,x_3,x_4)=x_1*P(e_1)+...+x_4*P(e_4)=
[/latex]