no 5 how do we do with explanation there is answer but how the
that comes

Answer:
see explanation
Step-by-step explanation:
(sinA + cosA)² + (sinA - cosA)² ← expand using FOIL
= sin²A + 2sinAcosA + cos²A + sin²A - 2sinAcosA + cos²A ← collect like terms
= 2sin²A + 2cos²A