\[x^{2} - ax + bx - ab =\]
\[= \left( x^{2} - ax \right) + (bx - ab) =\]
\[= x(x - a) + b(x - a) =\]
\[= (x + b)(x - a)\]