Login2Xplore interview question

Basic pattern questions , triangle , square