7. (B) This method returns the nth term of an arithmetic sequence with first term a and common difference d. Letting M denote method mystery, we have