With how many ways can we choose the integers $x_1,x_2, \dots , x_k$ such that the condition $1 \leq x_1<x_2< \dots <x_k \leq n$ is satisfied?
Do I have to find $(y_1,y_2, \dots,y_k):y_1+.....+y_k=\dots$ such that an other condition is satisfied?
With how many ways can we choose the integers $x_1,x_2, \dots , x_k$ such that the condition $1 \leq x_1<x_2< \dots <x_k \leq n$ is satisfied?
Do I have to find $(y_1,y_2, \dots,y_k):y_1+.....+y_k=\dots$ such that an other condition is satisfied?
The answer is $\binom{n}{k}$.
Suppose you picked them ignoring the order. Then there is clearly only one order in which they are all decreasing. So for every unordered set there is a unique ordered set that Works and visce-versa.
There is a much easier way to solve the problem, but we can use $y_i$ as you suggest.
Let $y_1=x_1$, $y_2=x_2-x_1$, $y_3=x_3-x_2$, and so on up to $y_k=x_k-x_{k-1}$. Finally, let $y_{k+1}=(n+1)-x_k$. The $y_i$ add up to $n+1$, and every solution of $y_1+y_2+\cdots+y_{k+1}=n+1$ in positive integers corresponds to a valid choice of the $x_i$.