"To write a novel", is the subject in the infinitive phrase.
His ultimate goal is to write a novel. So, "To write a novel" functions as a noun in the sentence. Hence, the answer is A. Noun.
Hey there!
This link is All About the topic sentence of a paragraph:
http://www.csun.edu/~hcpas003/topic.html
Hope it helps!