Let $X$ be a set and $n \in \mathbb{N}$ a natural number. Then one can define the cartesian $n$-product of $X$ in the following way: $$X^n:=\{f \ | \ f:\{1,...,n\} \to X\}.$$ Now we can extend our language in the following way. For every $x \in X^n$ and all $i \in \{1,...,n\}$ there exists a unique $y \in X$ such that $(i,y) \in x$. We define this to be $x_i$ which gives an extension to our language. How can I now define $(x_1,...,x_n)$? I would like to define it to be the function $x \in X^n$ which has $x_1,...,x_n$ as its values, however this feels somewhat circular to me right now. How can I define this symbol in the sense of extension by definitions?
In the following suppose I have somehow extended the language with the symbols $(x_1,...,x_n)$. I would like to write something like $X^n:=\{y \ | \ \exists x_1,...,x_n \in X: y=(x_1,...,x_n)\}$, however, I am quantifying over function symbols here, namely the $x_1,...,x_n$, which is not allowed in first order language as far as I know. Is there a way to fix this/work around this? Can I quantify over these symbols? Once I established that for every $x:\{1,...,n\} \to X$ we have defined $x_1,...,x_n$ as its values and extended my language in this way, can I define $X^n:=\{y \ | \ \exists x:\{1,...,n\} \to X: y=(x_1,...,x_n)\}$. In this way I would not quantify over function symbols, which should be fine, shouldn't it?
So my questions are: $(1)$ How can I define the symbol $(x_1,...,x_n)$ as an extension of the language?
$(2)$ Can I quantify over function symbols and if not, how do I fix "$X^n=\{y \ | \ \exists x_1,...,x_n \in X: y=(x_1,...,x_n)\}$"?