Factorising is essentially putting into a shorter, more compact form using brackets.
You need to check if the added number is divisible by 3 (found in the 3x), which 9 is. This makes it considerably easier.
Since both the coefficient and the added number are divisible by 3, you can put 3 infront of the brackets-
3()
You need 3x to make this true, and the coefficient of the brackets multiplies the inside.
So you only need to put one x in the brackets.
3(x+)
This also works with the 9. ( as 3x3 = 9)
3(x+3) is your final factorisation.