We have two geometric sequences of positive real numbers:
6,a,b and a,b,1296
Solve for a
note that 6/a = a/b = b/1296
also note that 6^4=1296
since there's two variables in between one can determine a=6^2=36 (and b=216)