Let the A.P. have first term a and common difference d.
Then the sum of its first n terms is
Sn=2n[2a+(n−1)d]
Using the given condition,
SqSp=q2p2,p=q
substitute the expression for Sn:
2q[2a+(q−1)d]2p[2a+(p−1)d]=q2p2
Simplify the left-hand side:
qp2a+(q−1)d2a+(p−1)d=q2p2
Cancel a factor qp from both sides:
2a+(q−1)d2a+(p−1)d=qp
Cross-multiply:
q[2a+(p−1)d]=p[2a+(q−1)d]
Expand both sides:
2aq+q(p−1)d=2ap+p(q−1)d
Bring all terms to one side and collect:
2a(q−p)+[q(p−1)−p(q−1)]d=0
Compute the coefficient of d:
q(p−1)−p(q−1)=qp−q−pq+p=p−q=−(q−p)
Hence
(q−p)[2a−d]=0
Because p=q, we must have
2a−d=0⟹d=2a
Now find the sixth and twenty-first terms. The nth term of an A.P. is
an=a+(n−1)d=a+(n−1)(2a)=a[1+2(n−1)]=a(2n−1)
Therefore
a6=a(2⋅6−1)=a(11)=11a
a21=a(2⋅21−1)=a(41)=41a
Hence
a21a6=41a11a=4111
Option D which is: 4111