The correct answer is affect.
In your essay give specific details and don't vague if it is not related to the topic you are writing about, is not important.
The third excerpt is structured correctly.
Answer:
Anne Frank had gotten the diary a few weeks after being in hiding. Her dad actually gave it to her and she started writing in it that day.
Explanation:
I read the book and watched the movie.
~Anna