simplify a^2(b - c) + b^2(a - c) + c^2(a - b) - (a - c)(ab - ac + b^2 + bc)