Try completing the square and making the substitution u = x − 2 {\displaystyle u=x-2} (observe that the numerator then becomes ( x − 2 ) 2 = u 2 {\displaystyle (x-2)^{2}=u^{2}} ).