Answer & Explanation
The correct answer is D.
Across the rows, the number of vertical lines increases by one line. For example, in the first row, the first frame contains one vertical line, the second frame contains two vertical lines, and the third frame contains three vertical lines.
You can see the same pattern in the second and third rows. Therefore, the empty square in the third row will contain three vertical lines. Eliminate answer-option C, as it contains two vertical lines.
Down the columns, the number of horizontal lines increases by one line. Take a look at the first column. In the top frame, there aren't any horizontal lines, in the middle frame there is one horizontal line, and in the third frame, there are two horizontal lines.
The second and third columns will exhibit the same pattern. In the third column, the first frame does not contain any horizontal lines, the second frame contains one horizontal line, so the third frame will contain two horizontal lines.
Eliminate answer-options B and E as they do not contain two horizontal lines. Additionally, notice that the spacing between the horizontal lines is very large. You can eliminate answer-option A and are left with answer-option D.