Salesforce interview question

Probability problems