Solution:
Concept: Every ratio can be written with sine and cosine: tanA=cosAsinA, cotA=sinAcosA, secA=cosA1 and cosecA=sinA1. Changing everything to sin and cos, then using sin2A+cos2A=1, proves most identities.
Step 1 — Start from the left-hand side.
We begin with the LHS. We multiply out the brackets.
LHS=(sinA+cosA)(secA+cosecA)
Step 2 — Multiply out.
We use sinAcosecA=1, cosAsecA=1, sinAsecA=tanA and cosAcosecA=cotA:
LHS=sinAsecA+sinAcosecA+cosAsecA+cosAcosecA=tanA+1+1+cotA
Step 3 — Add tan A and cot A.
We add tan A and cot A over the common denominator sinAcosA; the numerator sin2A+cos2A is 1:
LHS=2+sinAcosAsin2A+cos2A=2+sinAcosA1=2+secAcosecA
This is exactly the RHS.
Watch out: sinAsecA equals tanA (sine over cosine), not 1.
Therefore, LHS = RHS, so (sinA+cosA)(secA+cosecA)=2+secAcosecA. Hence proved.