(a^2+1)(-4a^2+1)+a^4-1
=(a^2+1)(-4a^2+1)+(a^2+1)(a^2-1)
=(a^2+1)(-4a^2+1+a^2-1)
=-3a^2(a^2+1)
3a(a-b)(a+b)-6(b-a)^2
=3a(a-b)(a+b)-6(a-b)^2
=3(a-b)(a^2+ab-2a+2b)
a^2-9(a-b)^2
=a^2-(3a-3b)^2
=(a+3a-3b)(a-3a+3b)
=(4a-3b)(3b-2a)
(a^2+1)(-4a^2+1)+a^4-1
=(a^2+1)(-4a^2+1)+(a^2+1)(a^2-1)
=(a^2+1)(-4a^2+1+a^2-1)
=-3a^2(a^2+1)
3a(a-b)(a+b)-6(b-a)^2
=3a(a-b)(a+b)-6(a-b)^2
=3(a-b)(a^2+ab-2a+2b)
a^2-9(a-b)^2
=a^2-(3a-3b)^2
=(a+3a-3b)(a-3a+3b)
=(4a-3b)(3b-2a)