Two fair dice are rolled. Find the joint probability mass function of $X$ and $Y$ when $X$ is the smallest and $Y$ is the largest value obtained on the dice.
Reasoning this out (but leaving out the possibly irrelevant details), my work shows
$$\begin{align} &\sum_{x\ \in\ X\ \ } \sum_{y\ \in \ Y\ :\ x \le \ y} \left( \left(\frac{1}{6-x+1} \right) \left(\frac{2(6-x+1)-1}{36} \right) \right) \\ & = \sum_{y\ \in\ Y\ \ } \sum_{x\ \in \ X\ :\ x \le \ y} \left( \left(\frac{1}{6-x+1} \right) \left(\frac{2(6-x+1)-1}{36} \right) \right) \\ & = 1 \end{align}$$
which seems to imply we have found the PMF as asked in the problem, but I only know the last line follows because Mathematica said so. How can we show that this double summation is indeed equal to $1$ by hand?