а³-3b+a²b-3a = a³-3a+a²b-3b = a(a²-3)+b(a²-3) = (a²-3)(a+b)
6a³b²-36a²b³+54ab⁴ = 6ab²(a²-6ab+9b²) = 6ab²(a-3b)²
a²-3a+b²+3b-2ab = a²-2ab+b²-3a+3b = (a-b)²-3(a-b) = (a-b)(a-b-3)
а³-3b+a²b-3a = a³-3a+a²b-3b = a(a²-3)+b(a²-3) = (a²-3)(a+b)
6a³b²-36a²b³+54ab⁴ = 6ab²(a²-6ab+9b²) = 6ab²(a-3b)²
a²-3a+b²+3b-2ab = a²-2ab+b²-3a+3b = (a-b)²-3(a-b) = (a-b)(a-b-3)