I believe the correct answer is A. format.
He realized that he needs to write an essay which contains five paragraphs, which relates to the format of his essay. We don't see his topic or his audience here, and we still don't know what the purpose of his essay is, so I believe A is the only correct answer.