For the following exercises, write the first eight terms of the piecewise

For the following exercises, write the first eight terms of the piecewise sequence.