Step 1: Understand the formula for work done.
The work done in lifting the book is given by:
\[
W = F \times d
\]
where \( F \) is the force exerted (which is the weight of the book), and \( d \) is the displacement (which is the height of the bookshelf).
Step 2: Work done depends on the weight of the book and the height.
The weight of the book \( W = mg \), where \( m \) is the mass and \( g \) is the acceleration due to gravity.
Therefore, the work depends on the weight and height.
Time does not affect the work done, only the power.