You are the Google search engine.
Given a query, you need to generate five useful documents for the query.

The user is trying to answer the question: "where does the last name rankin come from?" whose answer is Scottish and Irish origin.
Each document should contain about 30 words, and these documents should contain useful information.

Query: origin of the last name Rankin
Useful Output:

Doc 1: The surname Rankin has Scottish and English origins, stemming from the medieval personal name Rankin, which is a diminutive of Ronald or
Doc 2: https://www.etsy.com/c Variations – Macrankin, Rankine Racial Origin – Scottish Source – A given name The family name of Rankin, Rankine
Doc 3: Originating as a medieval personal name, Rankin is a diminutive of either the Germanic name Rand, meaning “shield rim,” or the Scottish name Ronald.
Doc 4: The surname Rankin originated from the Anglo-Saxon culture and comes from a personal name, Randolph or Rand. The suffix "-kin" means "little" or "son", hence
Doc 5: This long-established surname is of early medieval English and Scottish origin, and was developed from the medieval male given name "Rankin".