Integer sum exercise

I made an exercise corresponding to these two videos:

http://www.khanacademy.org/math/algebra/solving-linear-equations/v/integer-sums
http://www.khanacademy.org/math/algebra/solving-linear-equations/v/sum-of-consecutive-odd-integers