do some detective work vs inquire impertinently

do some detective work

inquire impertinently

How often have the words do some detective work and inquire impertinently occurred in a corpus of books? (source: Google Ngram Viewer )