You want this:
y= (x^2-7x+12)/(x^2-1)
-
That seems not factorable to simplify, but there is still some information to learn about the graph if factor the function.
Zeros at x=3 and x=4.
Asymtptotes (vertical) at x=1 and x=-1.
You can test the intervals around all critical points...
THIS is the graph. (Difficult for this to appear well on the system)