Try a substitution: u = y + x. I think your DE will simplify considerably.
let me make it clearer guys;
the equation is dy/dx = cot(y+x)-1
solution is Cos(y+x)=ce-x
my problem is the process leading to the solution and was solved using variable saperable differencial equation
thanks for ur assistance.