factor x^3 8