nail it vs nail the hammer on the head

nail it

verb
  • Synonym of hit the nail on the head 

  • Used other than figuratively or idiomatically: see nail, it. 

nail the hammer on the head

verb
  • To solve a problem of any sort; to get the right answer to something; to be on target, spot on. 

How often have the words nail it and nail the hammer on the head occurred in a corpus of books? (source: Google Ngram Viewer )