Note a3 b3 represents the cubic of a and the cubic of b, respectively.
Simplify the problem, separate X3-8 from X3-27, and then cut the point. The end result is
-4(X? +3X+9)/ X? +2X+4