Pregunta de entrevista de Jane Street

Conditional probability question, EV card game question.