Potentiate interview question

Complete the task given as a test.