You can put this solution on YOUR website! That looks like geometric sequence, .
The general sequence's term is and n would be the index of the term.
You can think of the sequence this way:
3, 3(-2)^1, 3(-2)^2, 3(-2)^3, 3(-2)^4,....3(-2)^n
This way showing the sequence uses indexing from 0 to n-1.
Sum of the first n terms is .
For reference, other than a good college algebra book, you can see http://en.wikipedia.org/wiki/Geometric_series.