the 8th term of an A.P is -5,find it's common difference if it's first term is 31

1 answer

a8 = a+7d, so
31+7d = -5
d = -36/7