Into what genre do both Edgar Allan Poe's "the philosophy of composition " and Stephen king's on writing falls ?
Both of these texts are theoretical essays on writing and what constitutes a good, academic text. Essays fall into the category of nonfiction, which is why fiction is the incorrect answer here. Both of these are texts, essays, and not poems or plays, which is why those answers are also incorrect. The texts deal with what the writers can do to make their writing better.