word problems for arithmetic sequence