You can put this solution on YOUR website!
Factor out a 2 on the bottom
To factor (x^2-3x-18), find the numbers that multiply to -18 and add to -3. These numbers are -6 and 3.
To factor (x^2+7x+12), find the numbers that multiply to 12 and add to 7. These numbers are 3 and 4.
Because x+3 is on both sides of the fraction, you can cancel those out.
This equation is now fully factored.