.
(1) Calculate P(-2).
In other words, substitute -2 instead of x into the polynomial and calculate its value.
If the value P(-2) is 0 (zero), then the given binomial is the factor.
If the value P(-2) is not zero, then this value is the remainder.
(2) Same with this case: calculate P(-5).
In other words, substitute -5 instead of x into the polynomial and calculate its value.
If the value P(-5) is 0 (zero), then the given binomial is the factor.
If the value P(-5) is not zero, then this value is the remainder.