Symology interview question

Complete the test