do the nasty vs hook up

do the nasty

verb
  • To engage in sexual intercourse. 

hook up

verb
  • To have a casual sexual experience with another person, usually without any future relationship intended. 

  • To connect to something like a power supply or a signal source. 

  • To assemble the parts of a mechanism, especially by connecting wires. 

  • To supply someone with goods or services. 

  • To form an association (with) someone. 

How often have the words do the nasty and hook up occurred in a corpus of books? (source: Google Ngram Viewer )