设函数f(x)=ax+2lnx,g(x)=3a^2x^2 .(1)当a=-1时,求函数y=f(x