if f be a function such that d/dx[x^2+1)f(x)]=2xf(x)+3x^4+3x^2

what is f(x)?