TD interview question

A expected value math question.