There is no one right answer to this type of questions. The next element can be anything you want.
That is one of the typical IQ questions of the type what is the next in a sequence, by inferring it from the previous values.
The answer is, the next item can be anything you want, the book can come up with some rules to justify the next element, but so can anyone.
For example given the sequence 1,2,3,4,5,6,7,8,9, what is the next element?
It is very easy to construct a function where the next elements will be $\pi , -1 , 0$ , ( look up Lagrange Interpolation).
This is not a logic question, the book is using a wrong example regarding (mathematical) logic.
But a constructive sequence rule like $2k, k=1,2,3,4,..,n$, will let you know how to construct the elements.
This is a variation on the look and say sequence, it works as follows: Given the sequence $1231$ it has $2$ ones $1$ two and $1$ three. So the next line would be $211213$. The digits are said from smallest to largest (so we always start saying the number of appearances of digit 1)
Best Answer
The number of regions in the pictures (ignoring the background):
$4, 5, 1, 2, 3$.
So probably it will loop back to $4$ in the next picture, hence B.
(Editorial: Not a particularly good puzzle in my opinion.)