Sophilabs interview question

Problem solving assesment picking figures in different patterns