This question was asked in Ex 2.2, 2
Find the value of a when g(x) is a factor of p(x)
g(x)=x 1 ;p(x)=x² ax 2

Mohammad Aasim's image