This question was asked in Ex 2.3,2
Long division in polynomial 
Raj Pandit's image