In spanish "X" has two sounds, one is the same as english (eks, as in exactly) and other derived from ancient french which is seemed as the [ch] sound on german or [c]h on gaelic scotish, as it could be find on México or Texas (méjico, tejas) for example Xerxes is written in spanish as Jerjes , and Xenophon as Jenofonte. There is a few names with X and, as it happens in english, the many are derived from greek