VIAVIS interview question

How would you approach to solve it?