An octagon. Each shape has the same number of sides as the sum of the sides of the two shapes below it. If the number is over 10, then the last digit is used instead. For example, 9 + 8 = 17 so the brick above is 7-sided. The top shape is an 8-sided octagon because there are two 4-sided shapes below it.