Mathematical expectation

$$EX = x_1\cdot p_1+x_2\cdot p_2+x3\cdot p3$$
Find   It is known that:
      =