How do you write a rule for the nth term of the geometric term and then find a_6 given r=3, a_1=2?