Consider the L.H.S.
=cosA1+sinA+1+sinAcosA
=cos2A+(1+sinA)2cosA(1+sinA)
=cos2A+1+sin2A+2sinAcosA(1+sinA)
=1+cos2A+sin2A+2sinAcosA(1+sinA)
=1+1+2sinAcosA(1+sinA)
=2(1+sinA)cosA(1+sinA)
=2cosA=2secA
Hence proved.
cosA(1+sinA)+(1+sinA)cosA=2secA