Simplify (x^2-5x+6)/(x^2-7x+10)