do away with vs kill by hanging

do away with

verb
  • To have someone killed. 

  • To abolish; to put an end to; to eliminate. 

kill by hanging

verb
  • to kill someone by suspending them by the neck 

How often have the words do away with and kill by hanging occurred in a corpus of books? (source: Google Ngram Viewer )