Pergunta de entrevista da empresa CarMax

Question about expected value and probability.