The correct answer is (D).
Getting to the Answer: If the sum of the unknown polynomial and x2-2x+6 is 3x2+7x, then that polynomial equals (3x2+7x)-(x2-2x+6). Subtract the like terms individually:
3x2-x2=2x2
7x-(-2x)=7x+2x=9x
0-6=-6
Thus, the unknown polynomial is 2x2+9x-6.