Calculus Examples

Write as a Function of x sum from n-1 to 6 of x-3n=-3
I am unable to solve this problem.