Notice that in each segment, the figures are all the same shape, but the one in the middle is larger than the two on either side. Also, notice that one of the figures is shaded and that this shading alternates first right and then left. To continue this pattern in the third segment, you will look for a square. Choice B is correct because this choice will put the large square between the two smaller squares, with the shading on the right.