TD Interview Question

A expected value math question.