If you are trying to simplify this, which is the only thing I see doable, here are the steps.
First: factor out x^2-9x+14, which is (x-7)(x-2).
We then get [(x-7)(x-2)]/(x-7)
You can cancel out the x-7 on the numerator and denominator, which leaves us with x-2.