f(x)=1/2[loga(a)+loga(x)][loga(a^2)+loga(x)]
=1/2(1+logax)*(2+logax)
=1/2(logax)^2+3/2logax+1
=1/2[(logax+3/2)^2]-1/8