By the rational roots theorem, the only possible rational solutions are -9 -3 -1 1 3 and 9

By the rule of signs, there is one sign change, so there is a positive root, so start with positive numbers.

After finding that 3 is a root, we know that we can factor out (x-3)

Use synthetic division to find out the remaining quadratic: