Step 1: Understanding the Concept
Look for a product-rule pattern on the left side of the equation.
Step 2: Spot the derivative
\(\frac{d}{dx}(y\cos x)=\cos x\frac{dy}{dx}-y\sin x\), which is exactly the left side.
Step 3: Integrate
So \(\frac{d}{dx}(y\cos x)=6x\). Integrating, \(y\cos x=3x^2+c\).
Step 4: Conclusion
The general solution is \(y\cdot\cos x=3x^2+c\).
Final Answer:
The general solution is y cos x = 3x^2 + c.
\[ \boxed{\text{(D) }y\cdot \cos x=3x^{2}+\text{c}} \]