Finding a specified term of an arithmetic sequence given the common difference and first term