prove that the following are identity

1. (cotA+cosecA-1)/(cotA-cosecA+1)=cosecA+cotA
2. (sinA-cosA+1)/(sinA+cosA-1)=
1/(secA-tanA)