to finish the class you much write a paper with five paragraphs.
To finish the class, you must write a paper (with five paragraphs).
The answer is "To finish the class you must write a paper(with five paragraphs)