3 ms·I think this (n+1)^2 = n^2 + 2n + 1. That's where the double the number of ways (2n) comes from.by sanp 5y agoI think this (n+1)^2 = n^2 + 2n + 1. That's where the double the number of ways (2n) comes from.