It seems to me that you just need to learn more about the writing assignment. For example, what are the requirements for the formatting and structure of the text, what you can use for this essay, how to properly format references to other books or authors. I believe that if you write text that meets all the requirements, then your professor will not significantly lower your score due to grammatical errors or incorrect sentence construction. You can find information on various written assignments on educational resources such as this one
https://wr1ter.com/persuasive-essay about what is literary analysis . I often read articles here and use this info in my essays.