The question is given below as

Step 1:We will look for two factors we will multiply together to get -18 and the same two factors that will add up together to +3

Since -18 is a negative value
Then, the two factors must have different signs because of the sign pattern below

The two factors are

Step 2: Substitute the factors in the equation below

Step 3: Equate both factors to zero

Hence,
The final answer are x =3 and x = -6