Evaluate the Function f(k^2-1)=-x^2-3x+1