The difference of 2 polynomial expressions is shown below.
\[
\left(-2 x^{2}+w x-4\right)-\left(x^{2}+5 x+6\right)=-3 x^{2}-10
\]
What is the value of \( w \) ?
A. -8
B. -5
C. 2
D. 5
w=0
Step 1 :(-2x^2+wx-4)-(x^2+5x+6)=-3x^2-10
Step 2 :-2x^2+wx-4-x^2-5x-6=-3x^2-10
Step 3 :wx=-10+4+6
Step 4 :w=\frac{-10+4+6}{x}
Step 5 :w=0