If you have not been exposed to L'Hopital yet:
Factor top and bottom:
\(\displaystyle \lim_{x\to 1}\frac{(5x-2)(x-1)}{(x+1)(x-1)}\)
Canecl the x-1 and we have:
\(\displaystyle \lim_{x\to 1}\frac{5x-2}{x+1}\)
Now, plug in x=1 and get your 3/2.
No disrespect intended, but L'Hopital is rather an overkill here. Limits are introduced at the beginning of calc I, but L'Hopital is normally not introduced until calc II. Myself, I only like to use it when confronted with a toughy that is otherwise difficult without it.