Prove the identity. (tanx+1)^2=(1+2sinxcosx)/(cos^2x)