3(a-b)^3+9(b-a)^2
=3(a-b)^3+9(a-b)^2
=3(a-b)^2(a-b+3)
x^2-y^2-(x+y)^2
=x^2-y^2-x^2-y^2 -2xy
=-2y^2-2xy
=-2y(x+y)
2x^m+2-12x^m+1y+10x^my^2
=2*x^2*x^m-12*x*x^my+10x^my^2
=2x^m(x^2-6xy+5y^2)
=2x^m(x-5y)(x-y)
3(a-b)^3+9(b-a)^2
=3(a-b)^3+9(a-b)^2
=3(a-b)^2(a-b+3)
x^2-y^2-(x+y)^2
=x^2-y^2-x^2-y^2 -2xy
=-2y^2-2xy
=-2y(x+y)
2x^m+2-12x^m+1y+10x^my^2
=2*x^2*x^m-12*x*x^my+10x^my^2
=2x^m(x^2-6xy+5y^2)
=2x^m(x-5y)(x-y)