LimitsFactor and cancel
Substituting makes the top and bottom both 0: factor first, then cancel.
When substitution gives 0/0, the top and the bottom share a factor, and that factor is the reason the function has a hole. These free printable worksheets practice the repair: factor, cancel, and substitute again.
Part of the Limits pack — 4 sheets, one set to print.
If they get stuck

The answer key prints on a separate page.
0/0 is a signal, not an answer. If x = 2 makes both the top and the bottom zero, then (x − 2) divides both of them, and the factor theorem says so. Once the shared bracket is canceled, the fraction that is left has a value at x = 2, and that value is the limit.
Every question is built from its shared bracket, so the factoring always comes out over whole numbers and the answer is exact. Some answers are fractions, and a few are negative fractions. A student who expects whole numbers learns quickly that the method decides the answer, not the other way around.
One question from a sheet like this one, worked a step at a time — with a sentence saying what just happened and why.
Limits by factoring, step by step