Consider the given function:
f(x)=1−2tanx1+2tanx
=2(1−tanx)2(1+tanx)
=1−tanx1+tanx
=1−sinxcosx1+sinxcosx
=cosx−sinxcosxcosx+sinxcosx
=cosx−sinxcosx+sinx
Hence this is the answer.