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

Manohar Lal's image