let f be a polynomial such that f(x^2+1)=x^4+4x^2. determine f(x^2-1)