Pregunta de entrevista de Susquehanna International Group

Some simple probability and expectation problem.