This question was asked in Ex 2.3,3
Check whether x-a is a factor of x3-ax2 6x-a

Saba Zargar's image