若函数2f(x)+x^2f(1/x)=(3x^3-x^2+4x+3)/(x+1),则f(x)=