dxdy=−sin(x+y)(1+dxdy)
dxdy[1+sin(x+y)]=−sin(x+y)
dxdy=−1+sin(x+y)sin(x+y)
The slope of the given tangent is m=−1/2
−1+sin(x+y)sin(x+y)=−21
2sin(x+y)=1+sin(x+y)⟹sin(x+y)=1
When sin(x+y)=1, we know cos(x+y)=0.
Since the original curve is y=cos(x+y), we get y=0.
Substituting y=0 into sin(x+y)=1: sin(x+0)=1⟹sinx=1⟹x=2π
2π+2(0)=k
k=2π