A^2+2AB=-10==>A^2=-10-2AB
B^2+2AB=16
-2A^2+2AB+3B^2=-2(-10-2AB)+2AB+3B^2
=20+4AB+2AB+3B^2=20+3(B^2+2AB)=20+3*16=68