Write down in terms of n, an expression for the nth term
of the following sequences:
a) 6 2 -2 -6 -10
b) -8 -15 -22 -29 -36