SoftwareOne Interview Question

How would you handle this situation? (example given)