Tan x =-1 then general value of x is: