Simplify (x^2-14x+49)/(6x^2-42x)