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