A student writes (x−1)(x+2)x+4=x−1A+x+2B to determine constants A and B by substituting strategically chosen x-values. Which pair of x-values would allow the student to solve for A and B most directly?
a) x=1 and x=2
b) x=−2 and x=1
c) x=0 and x=1
d) x=−1 and x=2