Well, the question seems to be wrong.. -7x must be -17x.. then only 1 and 2 will be the zeros of polynomial.. thats the slightest mistake.. and yes , i corrected it and solved. Got the answers.. 

If you have any doubts, you can ask me.. 
Hope this attached answer is helpful to you..
2 5 2