solve x^3 - 3x^2 = x^6-2