I lost the book which you ___ me.
I lost the book which you ___ me.
Explanation
"Which you gave me" = a relative clause giving more info about "the book."The verb "give" is in the past tense ("gave") because the action happened in the past — the book was given earlier.
You lost the book → past tense
Someone gave you the book → also past tense