Substitute first, then ask
For a quotient , where is the numerator and the denominator, the first move at is always direct substitution. If , the quotient is a well-behaved function near and IS the limit: done. If and , the values blow up near : a vertical asymptote, no finite limit. And if both are zero, you have , the indeterminate form. It is not zero, not one, not undefined, not a verdict of any kind: it is the form telling you that and share a factor , which is the only way both can vanish at the same place.
So factor both, cancel the common , and substitute again: , read aloud: the limit as x approaches two of x squared minus four over x minus two equals four. Cancelling is legal precisely because the limit never evaluates AT : everywhere else the two quotients are identical, and everywhere else is all a limit looks at.