Motorola Solutions Interview Question

How do you solve the problem