How do you write an equation for the nth term of the geometric sequence 4,-12,36,...?