If xy=cosAcosB then xtanA+ytanBx+y=
sinA+cosBcosA+sinB
sinA+sinBcosAcosB
tanA+B2
cotA−B2
xcosA=ycosB so xtanA+ytanBx+y
=cosAtanA+cosBtanBcosA+cosB=sinA+sinBcosA+cosB=2sinA+B2cosA−B22cosA+B2cosA−B2=tanA+B2