hit the nail on the head vs nail the hammer on the head

hit the nail on the head

verb
  • To identify something exactly; to arrive at exactly the right answer. 

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 hit the nail on the head and nail the hammer on the head occurred in a corpus of books? (source: Google Ngram Viewer )