This question was asked in Ex 2.3, 1
P(x)=x5-4x3 x2 3x 5 g(X)=x2 3x 1

Manohar Lal's image