1. I will lend you the book as soon as I have done with it. 2. I will lend you the book as soon as I will have done with it. Are the both grammatical?