Jane Street Interview Question

Probability question and critical thinking math problem