because ... using the second method involves all pairs of two nos.
there S has nC2 nos (selection of any two out of n)
but the question asks the sum of n such quantities (not all of those pairs)
Further, in the ques, there is a term n(n+1) which is not present in any of the pairs in the second method ... so this method is not applicable.