Hint 1
Forget about the bottom shelf to begin with and focus on getting the top four shelves into the same order.
This bookcase houses a set of books wrapped in five different-coloured bindings: red, blue, yellow, green and orange. Each shelf contains one book of each colour, but the colour order varies from shelf to shelf.
Your challenge is to get the books on each shelf into the same order in three moves. Swapping the positions of two books counts as one move.
Can you work out how to do it?

Forget about the bottom shelf to begin with and focus on getting the top four shelves into the same order.
You should be able to arrange the top four rows of books in the same colour order using two moves.
Now you have just one move left. Can you use it to get the bottom shelf of books into the same order?
The books on the first and third rows already have the same order, so there's no need to rearrange them. You can get this order on the second shelf by switching the rightmost two books, and on the fourth shelf by swapping the book that's furthest to the left with the one that's second from the right.
Now there's just the problem of sorting out the bottom shelf in one move...
Are you struggling with the last piece of the puzzle?
It doesn't matter where on the shelf the books are, as long as the colour order is the same.
Have a look at the bottom shelf, and see what happens if you move the rightmost book to the far left. Just don't go swapping it with another book.
That's right!
Nothing in the puzzle stipulated that the books had to be in the same positions on each shelf.
You just had to get the colour order right.

Hints you open and puzzles you mark solved are kept in this browser.