Mastercard interview question

Question related to conditional probability