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: "when was lord of the rings and the hobbit written?" whose answer is between 1937 and 1949.
Each document should contain about 30 words, and these documents should contain useful information.

Query: when was lord of the rings and the hobbit written
Useful Output:

Doc 1: Tolkien began writing The Hobbit in 1930, when he was 38 years old, as a tale to entertain his four children. The novel took several years to
Doc 2: English writer and scholar who achieved fame with his children's book The Hobbit (1937) and his richly inventive epic fantasy The Lord of the Rings (1954–55).
Doc 3: When the first edition of The Hobbit: or, There And Back Again was first published — 80 years ago, on Sept. 21, 1937 — C.S. Lewis famously
Doc 4: The Hobbit (1977) (Movie) · The Lord of the Rings (1978) (Movie) · The Return of the King (1980) (Movie).
Doc 5:  Hobbit, The Lord of the Rings and the Silmarillion was a long and eventful adventure? The Lord of the Rings was the result of over a decade