Here,
The A.P.=a, a+d, a+2d.....
a/c the sum of first seven terms is 10
i.e. a+ a+d +a+2d +a+3d +a+4d +a+5d +a+6d =10
7a+21d=10
Therefore, a=10-21d / 7 -(1)
a/c the sum of next seven terms is 17
i.e. a +7d +a+8d +a+9d +a+10d +a+11d +a+12d +a+13d =17
7a+ 70d=17
By putting the value of a from eq. no. 1
7 (10- 21d / 7) +70d=17
10 -21d+ 70d=17
10+49d=17
Therefore, d= 1/7
By putting the value of d in eq. no. 1
we get, a =1
Now, a8=a+7d
=1+ 7*1/7=1+1
=2
Hence, the eighth term of the A. P. is 2