(A+1)^2+3(A-1)^2-5(A+1)(A-1)
(A+1)^2+3(A-1)^2-5(A+1)(A-1)=-A^2-4A-1
A^2+2a+1+3a^2-6a+3-5a^2=-a^2-4a+9