Barclays Interview Question

math question on probability and independent variables