Capital One Interview Question

Can you solve this scenario?