get on someone's nerves vs take the trouble

get on someone's nerves

verb
  • To annoy or irritate someone; to bother someone. 

take the trouble

verb
  • To make the effort (to do something); to bother. 

How often have the words get on someone's nerves and take the trouble occurred in a corpus of books? (source: Google Ngram Viewer )