I would like to add to Zurtex' good advice the following graphical procedure:
1. Draw the real numberline, and mark on it, at the very least, where each of the zeroes of your constituent polynomials are (in your case, your polynomials are all linear)
2. Directly beneath the drawn numberline, write down the "sign line for (x-6) like this: -----0++++++
The zero shall lie directly below the "6"-mark on your number line.
3. Continue to draw beneath your previous sign line the "sign line for (x+7):
This will look like: --0+++++++, with its zero directly beneath "-7".
4. You are to do the same with the (x-2) factor, the image you've drawn should look like this:
----------------------0+++++++++++++++
--0+++++++++++++++++++++++++++
----------------0+++++++++++++++++++
Now, you can at each point "multiply the signs", to form the "sign line for your rational function":
--0+++++++(inf)--0+++++++++++++++
(Note that as we approach the zero of the denominator, the function will tend to infinity (infinity sign depends on which direction you are approaching the singularity)