Answer
$18J$
Work Step by Step
Considering that the bottom most book does not need any work, because it is already on the surface. Work to be done for the rest 5 books.
So, minimum work to be done $=w\times (0.04+0.08+0.12+0.16+0.2)=30\times0.6=18J$