I hope this helps:
For starters - the object's name is Gap 1 - so you can't use the word "gap" - I gave it an alias of "gap" in the attachment.
Secondly, the container needs to be open or at least must be able to be opened.
Lastly - to my mind the the word 'put' already exists and therefore I have deleted your verb.
After you picked up the book, you will now be able to say: "put book in gap"
done