Barclays interview question

math question on probability and independent variables