Salesforce Interview Question

a math problem like a brain teaser