lim x--->pi/4 tanx - cotx / x - pi/4

I assume you have this:

LIM (tanx-cotx)/(x-PI/4) as x>>PI/4

which has a limit in the form of 0/0

L'Hopital's rule

= lim (sec^2x+csc^2x)/(-PI/4) which you can easily evaluate as x>>PI/4