put the denominatore =(x^2 +x-1)^2 +4x^2 then divide the numerator and denominator b y (x^2 +x-1 )^2 put u =2x / x^2 +x -1 +c then the integration = -1/2 arc tan (2x /x^2 +x-1