Domanda di colloquio di SquarePoint

Conditional probability, monte carlo simulation when I could not answer it