Correct option is B
The logic followed here is:
Logic:
The shapes alternate: Circles (Block 1, 2) to Triangles (Block 3, 4).
The count increases sequentially: 3 to 4 to 5 to 6
The pattern is: u, w..

So, The code for figure 4 is XWXW.
Hence, the correct answer is 'Option B'.













