Simplify and write the trigonometric expression in terms of sine and cosine:

((2+tan^2 x)/(sec^2 x))-1 = (f(x))^2
f(x)= ??