The correct option is
A x+2y=π2We have,
y=cos(x+y)
differentiate with respect to x
dydx=−sin(x+y).(1+dydx)
dydx=−sin(x+y)−sin(x+y).dydx
dydx(1+sin(x+y))=−sin(x+y)
dydx=−sin(x+y)1+sin(x+y)
Because equation of tangent is parallel to x+2y=0 so,
dydx=−12=−sin(x+y)1+sin(x+y)
2sin(x+y)=1+sin(x+y)
sin(x+y)=1
x+y=π2 and −3π2
So,
y=cos(x+y)=0
Hence, (π2,0) and (−3π2,0) are two points form which two tangents are passing and parallel to x+2y=0
Now , equation of tangents:
(y−0)=−12.(x−π2)=>x+2y=π2
Hence, this is the answer.