To properly quote up to three lines from Beowulf, use slash marks (/) to indicate line breaks and include line numbers in parentheses after the quotation.
One line: Grendel “/ tore at Herot, ripped off the roof...” (1).
Two lines: Grendel “/ tore at Herot, ripped off the roof, / reveling in destruction.” (154-155).
Three lines: “There, / in its watery lair lay Grendel’s mother, / hiding in her foul den, seeking revenge” (1358-1360).
This format preserves the poetic structure while clearly attributing the source.