Barclays interview question

Finding the next shape in a pattern