Find the critical points of function$$ f(x,y)=\sin x + \sin y + \cos(x+y),$$ where $0<x<\dfrac{\pi}{2}$, $0<y<\dfrac{\pi}{2}$.
What I have done: $$f_{x}=\cos(x)-\sin(x+y),\\ f_{y}=\cos(y)-\sin(x+y).$$
From $f_{x}=0$, $\cos(x)=\sin(x+y)$. From $f_{x}=0$, $\cos(y)=\sin(x+y)$. I do not know where to go from here.
My attemps: $$\sin\left(\frac{\pi}{2}-x\right)=\sin(x+y)=\sin\left(\frac{\pi}{2}-y\right).$$