You can put this solution on YOUR website! First, factor all of the polynomials:
x^2-7x+12 * x^2+6x+8
_________ __________
x^2-6x+8 x^2-x-6
.
.
.
(x-3)(x-4)/(x-4)(x-2) * (x+4)(x+2)/(x-3)(x+2)
.
.
Next cancel out wherever possible. This leaves:
x+4/x-2