hint for the first:
on the left side multiply the first term with (sec-tan) / (sec-tan) and the second term with (sec+tan) / (sec+tan), then you can combine the two terms with (sec+tan)(sec-tan)=sec^2 - tan^2 below the line
now use the identity sec=sqrt(1+tan^2), ie sec^2=1+tan^2 and when you put it in you will have 1+tan^2-tan^2 ie just 1 below the line