sec^4x-tan^4x=1+2tan^2x

sec^4 = (tan^2+1)^2 = tan^4 + 2tan^2 + 1

subtract and voila.