Checking two problems :

1. x^2-7x+12 / x^2-16 =
(x-3)(x-4) / (x-4)(x+4)
(x-4) cancels out
Answer (x-3)/(x+4)

2. x^2-3x+2/7x-14 divide by x^2-1/7x+7
x^2-3x+2/7x-14 * 7x+7/x^2-1
(x-1)(x-2)7(x+1)/7(x-2)(x-1)(x+1)
To me it looks like everything cancels out, is that possible?

The first one is OK

[(x^2-3x+2)/(7x-14)]*[(7x+7)/(x^2-1)]
= [(x-2)(x-1)7(x+1)]/[7(x-2)(x-1)(x+1]
= 1

Looks like that is OK too.