Which in-text citation is formatted correctly in MLA style?

Homer writes that Odysseus and his men “were left to groan and wait for morning.” (Homer, 218)
Homer writes “that Odysseus and his men were left to groan and wait for morning” (Homer: 218).
Homer writes that Odysseus and his men “were left to groan and wait for morning” (218).
Homer writes “that Odysseus and his men were left to groan and wait for morning” (218)