Question: how eowyn kills witch king?
Answer: While the Witch-King was distracted, Éowyn drove her sword where the head of the wraith would have been, slaying him. Merry's sword was magic enough to break the curse, so when Éowyn stabbed him, he was no longer invincible, that power had gone with the curse when Merry stabbed him.