Solution:
Concept: Change both sums into products; they share the factor 2cos2A−B, which cancels on dividing.
Step 1 — Sum of sines.
sinA+sinB=2sin2A+Bcos2A−B
2sin2A+Bcos2A−B=41... (1)
Step 2 — Sum of cosines.
cosA+cosB=2cos2A+Bcos2A−B
2cos2A+Bcos2A−B=31... (2)
Step 3 — Divide (1) by (2).
tan2A+B=1/31/4
=43
Hence tan21(A+B)=43. Proved.