It's easier to understand and remember how to use the rational root theorem if you see where it comes from by considering the roots of a polynomial after it's been fully factored. If you fully factor a polynomial then you get a bunch of linear terms multiplied by each other. Just like a quadratic can be factored into two binomials multiplied by each other, a cubic can be factored into three binomials:
(Ax+B)(Cx+D)(Ex+F)=0.
Because of the zero multiplication property, this factored cubic has the three roots x=-B/A, -D/C, and -F/E. For roots where both capital letters are positive or negative integers, the roots are rational numbers. But those capital letters can also be irrationals or they can even have imaginary parts.
You can multiply everything out in the equation above, first by using FOIL on the first two terms to get a trinomial and then by multiplying that trinomial by (Ex+F) to get the fully expanded cubic:
ACEx^3 +(complicated expression #1)(x^2) + (complicated expression #2)(x) + BDF = 0
The rational root theorem comes from the relationship between the roots (-B/A, -D/C, and -F/E) and the terms in the cubic equation. Find all positive and negative factors of the leading coefficient. Those are the possible denominators of rational roots. Do the same thing with the units term. Those are the possible numerators of rational roots.
For the cubic you gave, the leading coefficient is 1. In the general equation above, ACE =1, so the possible denominators of rational roots must be ±1. The units coefficient is –6, so in the general equation above, BDF=-6, so the possible numerators of rational roots must be ±1, ±2, ±3, or ±6.
Consider all possible combinations of numerators and denominators, and you have:
±1/1, ±2/1, ±3/1, or ±6/1
or
±1, ±2, ±3, or ±6.