The lengths of the sides of the polygon are a1, a2,. .. ,an. The square trinomial f(x) is such that f(a1)=f(a2+...+an). Prove that if A is the sum of the lengths of several sides of a polygon, B is the sum of the lengths of its remaining sides, then f(A)=f(B). algebrageometrycombinatorial geometry