This question was asked in Ex 2.3,1
How the sum is came 

Anbu Anbarasan's image