In an arithmetic sequence, the nth term a, is given by the formula a, a, + (n-1)d, where a, is the first term and d is the common difference. Similarly, in a geometricsequence, the nth term is given by an = a -1, where r is the common ratio. Use these formulas to determinethe indicated term in the given sequence.5 5The 8th term of 40, 10, 2ag =(Type an integer or a simplified fraction.)2or