You can
put this solution on YOUR website!The sum of the first n terms of an arithmetic progression is

.
n=9 <--- # of terms
a=2 <--starting term
r=-7 <--- common difference between terms
s=

=
We can check by iterating every term:
2-5-12-19-26-33-40-47-54=-234