8. The first three terms of an arithmetic series are (4x - 5), 3x and (x + 13).
(a) Find the value of x.
(b) Find the sum of the first 40 terms of the sequence.