(3A-4B)(7A-8B)+(2A-5B)(8B-7A)
=(3A-4B)(7A-8B)-(2A-5B)(7A-8B)
=(7A-8B)(3A-4B-2A+5B)
=(7A-8B)(A+B)
=3*1
=3