How do you find the formula for a_n for the arithmetic sequence a_1=x, d=2x?