Consider the first 2 terms of the sequence -6, 18,...
1. Determine the next 5 terms in the sequence if the sequence is arithmetic. Then write a function to
represent the arithmetic sequence.
2. Determine the next 5 terms in the sequence if the sequence is geometric. Then write a function to
represent the geometric sequence.