Find nth term

deduce expressions to calculate the nth term of linear and quadratic sequences