Разложите на множители
A^2b + b^2c + ac^2 - ab^2 - bc^2 - a^2c = = a(ab + c^2) - b(ab + c^2) - c(a^2 - b^2) = = (a - b)(ab + c^2) - c(a - b)(a + b) = = (a - b)(ab + c^2 - ac - bc) = = (a - b)(a(b - c) - c(b - c)) = = (a - b)(a - c)(b - c)