Find the value of x in the quadratic equation of f(x)=x^2+2x+5