factor x^6+x^3-2