solve ax^3 + bx - c = 0 for x