think on one's feet vs throw something together

think on one's feet

verb
  • When one is in the middle of a process, activity, or conversation, to adjust rapidly, effectively, and intelligently to new developments or changing circumstances. 

throw something together

How often have the words think on one's feet and throw something together occurred in a corpus of books? (source: Google Ngram Viewer )