The correct option is A 54
Let first term and common difference of an AP are a and d.
Thus T3=a+2d,
T7=a+6d
and T12=a+11d
But T3,T7 and T12 are consecutive terms of an GP.
Thus (a+6d)2=(a+2d)(a+11d)
⇒a2+36d+12ad=a2+13ad+22d2
⇒ad=14d2
⇒a=14d
Therefore, terms are 14d+2d,14d+6d,14d+11d
i.e., 16d,20d,25d
Hence, the common ratio is 20d16d=54.