When two groups of the same size overlap almost completely, like first 8 and 2nd to 9th here, which differ only by one term leaving and one term entering, the difference between their two sums directly gives the difference between the leaving and entering terms, without needing every individual value.