Sir please give me a detailed solution of this question as it is taken from trigonometry, topic – trigonometric identities in which we have given that (sinθ+cosθ)=√2cosθ, and we have been asked to prove that cotθ = (√2+1)

RS Aggarwal, Class 10, chapter 13B, question no 11

Hope it helps you