Concept:Use the ratio of sums to find when the nth terms of two APs are equal.Explanation:Let the APs have first terms a1,a2 and common differences d1,d2.Sum of n terms: Sn=2n[2a+(n−1)d].Given S2nS1n=5n+177n−5. Cancel 2n:2a2+(n−1)d22a1+(n−1)d1=5n+177n−5.Set x=n−1. Then 2a2+xd22a1+xd1=5(x+1)+177(x+1)−5=5x+227x+2.Let A=2a1,B=d1,C=2a2,D=d2. So C+DxA+Bx=5x+227x+2.Cross-multiply: (A+Bx)(5x+22)=(C+Dx)(7x+2).Expand: 5Ax+22A+5Bx2+22Bx=7Cx+2C+7Dx2+2Dx.Equate coefficients:x2: 5B=7D⟹D=75B.x: 5A+22B=7C+2D.Constant: 22A=2C⟹C=11A.Substitute C and D into x coefficient equation: 5A+22B=7(11A)+2(75B)=77A+710B.Simplify: 22B−710B=77A−5A⟹7144B=72A⟹B=27A.Then D=75⋅27A=25A.We need the nth terms equal: a1+(n−1)d1=a2+(n−1)d2. Multiply by 2: 2a1+2xd1=2a2+2xd2 i.e. A+2xB=C+2xD.Substitute: A+2x⋅27A=11A+2x⋅25A⟹A+7xA=11A+5xA.Cancel A (non-zero): 1+7x=11+5x⟹2x=10⟹x=5.Thus n=x+1=6.Answer:The 6th terms of the two series are equal.