how do i find the limit of (x^2 + x -2)/ (x-1) as x approaches 1

For this problem, first factor the numerator and see if that helps.