Sequences: Finding terms in Linear and Quadratic Sequences