How do you write a rule for the nth term of the geometric sequence and then find #a_5# given #a_1=17, r=-2#?