This question was asked in Ex 2.2,3

P(x)=3x1,x=-1

Nikil Khanthed's image