Answer:
Part A: is the first one which is - Anne wants to confide in other people, but she finds people less accepting than a page in her diary.
Part B: is the second one which is: "And now I come to the root of the matter, the reason for my starting this diary: it is that I have no such real friend . . . I want this diary itself to be my friend, and I shall call my friend Kitty."