Hi Gianna,
a. Think about the cost-benefit analysis when evaluating warranties. If the dishwasher breaks within two years, the corresponding x-value will be (750 - 112.10) = $637.90. You need to subtract the amount you paid for the warranty from the cost of the dishwasher. Now, the probability of that happening is 15% or 0.15. So first entry in your table should be:
X P(X=x)
$637.90 0.15
Now, it's also possible that you purchase the warranty and nothing goes wrong. Use the Complement Rule here--the probability that the dishwasher lasts more than two years is 1 - 0.15 = 0.85. This corresponds to an outright loss of your warranty price, $112.10, which corresponds to an x-value of - $112.10. So, to fill out the table:
X P(X=x)
$637.90 0.15
$-112.10 0.85
b) Formula for Expected Value:
E(x) = Sum[x*P(x)]
Thus:
E(x) = (637.90*0.15) + (-112.10*0.85)
E(x) = 0.40
So the expected value is about 40 cents. It's a judgment call on whether or not that warranty is worth buying. While you do stand to gain, i.e. positive expected value, it isn't by much. I hope this helps.