Finding the nth term of an arithmetic sequence (M10AL-I-c-1)