Compute two conditional probability scenarios | Capital One Interview Question