Barclays Interview Question

They asked a math problem about probability. Very simple. The questions became progressively harder.