Of course, I would just graph it on Desmos.com or my graphing calculator and be done.
f(x) can be factored as
.. f(x) = (x -6)(x +1)/((x -3)(x +2))
so will have zeros at x = {-1, 6}, vertical asymptotes at x = {-2, 3}, and sign changes at all of those points.
The Upper Right graph is the only one with the zeros and asymptotes in the right places.