write tan x as (1/2){(tan x + cotx) +(tan x -cotx)} bcuz anyway it'll give tanx after cancelling n all...
using d formulae.. tanx=sinx/cosx and cotx=cosx/sinx multiply numberator and denominator by 2..do this for both d operands.. and write it like { (sinx+cosx)^2-1} sinx+cosx=t.. continue..