Answer: 4
======================================================
Step-by-step explanation:
If we plugged x = 4 into the expression, then we'll have 0 in the denominator. This causes a division by zero error.
Luckily the numerator factors to (x-4)(x-2)^2. This is found by using the Rational Root Theorem, along with either synthetic division or polynomial long division. I'll skip these steps unless you need me to write them out.
Once we know the numerator factors this way, we can then write the following steps:

Therefore,

You can use graphing software like Desmos or GeoGebra to confirm the answer is correct. WolframAlpha is another good choice.