This question was asked in Ex 9.3, 10
Why you  have use this formula you may also use other formula for sum of gp in which r used to greater than 1(r>1).

Harsh Mathur's image