12a^3x-36a^2bx+27ab^2x=3ax(4a^2-12ab+9b^2)=3ax(2a-3b)^2
2a^2b^3-28ab^2-98b=2b(a^2b^2-14ab-49)=2b(ab-7)^2
(a-2b)^3+8b^3=a^3-3a^2*2b+3a2^2b^2-2^3b^3+8b^3=a^3-6a^2b+12ab^2-8b^3+8b^3=^3-6a^2b+12ab^2
27-(x-2)^3=27-(x^3-3*x^2*2+3*x2^2-2^3)=27-(x^3-6x^2+12x-8)=27-x^3+6x^2-12x+8=35-x^3+6x^2-12x
(m+1)^3+64=(m^3+3m^2*1+3m1^2+1^3)+64=m^3+3m^2+3m+1+64=m^3+3m^2+3m+65