Joan notices that the 3rd, 6th, and 9th shapes are squares. He guesses that the 12th and the 15th shapes will be squares because they are multiples of 3, and there are 3 shapes in the repeated part.
Is his guess correct? Find the rule of the pattern.