a(n)=a+(n-1)d=-10+7(n-1),
s(n)=na+n(n-1)d/2=-10n+7n(n-1)/2,
20=s(n)=-10n+7n(n-1)/2,
0=7n^2 - 27n - 40 = (7n+8)(n-5),n=5.
a(n)=a(5)=-10+7(5-1)=-10+28=18
a(n)=a+(n-1)d=-10+7(n-1),
s(n)=na+n(n-1)d/2=-10n+7n(n-1)/2,
20=s(n)=-10n+7n(n-1)/2,
0=7n^2 - 27n - 40 = (7n+8)(n-5),n=5.
a(n)=a(5)=-10+7(5-1)=-10+28=18