Pregunta de entrevista de Barclays

Finding the next shape in a pattern