I got this question via YouTube, but I decided to answer it here because it is easier to type math.
The specific question is, why does this sum equal 35 not 31.
Answer:
If we break the sum into smaller pieces, which we are allowed to do, then the answer becomes more clear. The reason you might have gotten 31 is if you did something like this.