\[y = \frac{x^{2}}{x - 2} + \frac{4}{2 - x} = \frac{x^{2} - 4}{x - 2} =\]
\[= \frac{(x - 2)(x + 2)}{x - 2} =\]
\[= x + 2,\ \ \ \ x eq 2\]