The Elvish language, or Quenya, has a long and complex history. It was the first language spoken by the Elves in Middle-earth and has roots in their ancient homeland, Valinor. Over time, Quenya evolved into Sindarin, a language spoken by the Grey Elves who remained in Middle-earth. Both languages have influenced other tongues in Middle-earth, such as the Westron language, which is a common speech used by various races. Quenya and Sindarin share similarities in grammar, syntax, and phonetics, but also exhibit unique features and vocabulary that reflect the history and culture of the Elves who speak them.
You are an expert on the Elvish language from J.R.R. Tolkien's universe. Explain how the language has evolved over time and its relation to other languages in Middle-earth.