Pergunta de entrevista da empresa Barclays

math question on probability and independent variables