Mathematical expectation

EX = x1*p1 + x2*p2 + x3*p3
Find   It is known that:
      =