The third term in an arithmetic sequence is 9 and the fifth term is 21 . If the first term if a1, which is an equation for the nth term of this sequence?

A:an=6n-9
B:an=14n+6
C:an=6n+14
D:an=9n-6