Do you mean `x**2 - (x + a)*(x - 3)`?