Note that $$\sin(x)+\sin(2x)+\sin(3x)=\sin(2x)\,\big(1+2\cos(x)\big)$$
and
$$\cos(x)+\cos(2x)+\cos(3x)=\cos(2x)\,\big(1+2\cos(x)\big)\,.$$
Thus, for the required equalities to be true, we need
$$1+2\cos(x)=s\in\{-1,+1\}\text{ and }2x=\left\{\begin{array}{ll}
2k\pi+y\,,&\text{if }s=+1\\
(2k+1)\pi-y\,,&\text{if }s=-1\,.
\end{array}\right.$$
for some integer $k$. This mean
$$x=\left\{\begin{array}{ll}
k\pi+\frac{y}{2}\,,&\text{if }s=+1\\
k\pi+\frac{\pi-y}{2}\,,&\text{if }s=-1\,.
\end{array}\right.$$
The problem statement seems to suggest that (b) is the correct answer (with option $s=+1$ and $k=0$). However, there is a caveat, as Saucy O'Path mentioned.
To be precise, the possible values of $(x,y)$ are
$$(x,y)=\left(\frac{\pi}{2}+m\pi,(2n+1)\pi\right)\text{ and }(x,y)=\big((2m+1)\pi,(2n+1)\pi\big)$$
where $m,n\in\mathbb{Z}$.
In addition, $x=\pi$ is a solution, but if (b) is true, then $y=2x=2\pi$ would correspond to the value $x=\pi$, but this is not the case. When $x=\pi$, the only working values of $y$ are odd multiples of $\pi$.
Conclusion: This is a poorly designed problem, and should be ignored. None of the provided choices is a (solely) correct answer. Each except (c) can be correct, e.g., (a) with $(x,y)=(\pi,\pi)$, (b) with $(x,y)=\left(\frac{\pi}{2},\pi\right)$, and (d) with $(x,y)=\left(\frac{\pi}{2},3\pi\right)$.