Con Edison Interview Question

How did you solve the test?