do away with vs get rid of

do away with

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

  • To have someone killed. 

get rid of

verb
  • to rid oneself of; dispose (of); to remove; to abolish; to lose 

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