Sum of infinite number of terms in GP is 20 and sum of their square is 100

Sum of infinite number of terms in GP is 20 and sum of their square is 100. The common ratio of GP is

  1. 1/5
  2. 3/5
  3. 8/5
  4. 5

Answer

Let terms of GP be a, ar, ar2

where a = first term, r = common ratio

S = a/1-r

Therefore, a/1-r = 20

a = 20(1-r)

Also, a2 = 100(1 - r2)

The correct option is B.