how to find a (x1^3n+x2^3n) if x1 and x2 are the root of quadratic equation x^2+x+1