Let $n$ be a positive integer. Determine the number of solutions to $x_1 + \cdots + x_k \leq n$ with nonnegative integer solutions. Determine the number of solutions with positive integer solutions.
I understand why every positive solution of $x_1 + · · · + x_k = m$ corresponds to an ordered partition of $m$. However, I do not understand why the number of positive solutions of $x_1 + \cdots + x_k \leq n$ is
$$\sum_{m=k}^{n}\binom{m-1}{k-1}.$$
Similarly, I do not understand how using multisets we obtain $\binom{n+k}{k}$ for the nonnegative integer solutions. Can someone explain this?