Step 1: Understanding the Concept
Let \(u=\cos\dfrac{x+y}{2}\) and \(v=\cos\dfrac{x-y}{2}\).
Then \(\cos x+\cos y=2uv\) and \(\cos(x+y)=2u^2-1\).
Step 2: Form the equation
\(2uv-2u^2+1=\dfrac32\Rightarrow4u^2-4uv+1=0\).
Step 3: Complete the square
\((2u-v)^2+1-v^2=0\).
Since \((2u-v)^2\ge0\) and \(1-v^2\ge0\), each must be zero.
Thus \(v^2=1\) and \(2u=v\).
Step 4: Conclusion
\(\cos\dfrac{x-y}{2}=\pm1\) gives \(x=y\) (principal case), option (C).
Final Answer:
The equation holds when x = y.
\[ \boxed{\text{(C) }x=y} \]