Jane Street interview question

Probability related to different events