Write out the form of the partial fraction deconposition of the function. Do not determine the numerical values of the coefficients.

b. (x^2)/(x^2+x+2)

what i got was 1 - (x+2)/(x^2+x+2) and i don't have any A or B things in it so I dont know what i did wrong.. should it be 1- (Ax+B)/(x^2+x+2)??

is there a general formula that I missed?