It is probable that the craft of building, as many other crafts beside, was derived from the Dunedain.
But many copies contain the true account (as an alternative), derived no doubt from notes by Frodo or Samwise, both of whom learned the truth, though they seem to have been unwilling to delete anything actually written by the old hobbit himself.
That story was derived from the earlier chapters of the Red Book, composed by Bilbo himself, the first Hobbit to become famous in the world at large, and called by him There and Back Again, since they told of his journey into the East and his return: an adventure which later involved all the Hobbits in the great events of that Age that are here related.
There are no more uses of "derive" in the book.
Show samples from other sources
She likes to win, but she doesn’t derive pleasure from watching others lose.