The first term of a linear sequence is 30 and the eighth term is 31.find the common difference.

term n = a + d(n-1)

a =30
31 = 30 + d (7)
d = 1/7