Step 1: Target arrangement:
All three books must end on Table-B with 1 at the bottom and 2 on top, so from bottom to top Table-B holds 1, 3, 2. Initially Table-A holds 1, 2, 3 (bottom to top), so 2 and 3 must swap places.
Step 2: A solution in four moves:
Move 1: move book 3 to Table-B. (A: 1, 2; B: 3). Move 2: move book 2 to Table-B on top of 3. (A: 1; B: 3, 2). Move 3: move the top two books (3, 2) back to Table-A on top of 1. (A: 1, 3, 2; B: empty). Move 4: move all three books to Table-B. (B: 1, 3, 2). So four moves are enough.
Step 3: Why fewer is not possible:
After 1 move the possible positions (A | B) are: 12 | 3, 1 | 23, and nothing | 123. After 2 moves they are: 1 | 32, nothing | 312, nothing | 231, 13 | 2, 3 | 12, 23 | 1. None of these is the target (nothing | 132). A is empty in the target, so the last move takes books from A to B, and just before it the position (A | B) was one of 2 | 13, 32 | 1 or 132 | nothing. None of these appears in the lists above (after 0, 1 or 2 moves), so each needs at least 3 moves. Hence the target needs at least 4 moves.
Final Answer:
The correct option is (2): Four