cos²(A-B) + cos²B - 2cos(A-B)cosAcosB
= [cos(A-B)- cosAcosB]²- (cosAcosB)²+cos²B
=(sinAsinB)²- (cosAcosB)²+cos²B
=sin²A(1-cos²B)-(1-sin²A)cos²B+cos²B
=sin²A
cos²(A-B) + cos²B - 2cos(A-B)cosAcosB
= [cos(A-B)- cosAcosB]²- (cosAcosB)²+cos²B
=(sinAsinB)²- (cosAcosB)²+cos²B
=sin²A(1-cos²B)-(1-sin²A)cos²B+cos²B
=sin²A