I'd say that
There is no "correct" answer
As we see in in rows No. 1-4, there are
Always 3 white squares and 3 black squares
The pattern from row No. 1 to row No. 2 is that
2 black squares go to the left
While
The remaining 1 black square goes to the right
This pattern also applies from row No. 2 to row No. 3, but from row No. 3 to row No. 4,
The black squares don't move at all
This means that
The black squares are not supposed to move further as they are all at the end
As such,
The pattern in row No. 4 should be the same as in row No. 5
This means that there is no correct answer
Another thing that I noticed is that
The number of black squares are either 1 or 2 while the pattern in rows No. 1-4 all have 3 black squares.