computing the variance of a discrete probability distribution

-i dont understand this so i need some help with these i need it asap thank you.

computing the variance of a discrete probability distribution i dont understand this so i need some help with these i need it asap thank you class=