\(\frac{4}{x+2}+\frac{-3}{x-2}+\frac{12}{x^2-4}.\)
\(=\frac{4\left(x-2\right)}{\left(x+2\right)\left(x-2\right)}-\frac{3\left(x+2\right)}{\left(x+2\right)\left(x-2\right)}+\frac{12}{\left(x+2\right)\left(x-2\right)}\)
\(=\frac{4x-8-3x-6+12}{\left(x-2\right)\left(x+2\right)}\)
\(=\frac{x-4}{x^2-4}\)
\(\frac{4}{x+2}+\frac{\left(-2\right)}{x-2}+\frac{12}{x^2-4}\)
\(=\frac{4\left(x-2\right)}{\left(x+2\right)\left(x-2\right)}-\frac{3\left(x+2\right)}{\left(x-2\right)\left(x+2\right)}+\frac{12}{\left(x+2\right)\left(x-2\right)}\)
\(=\frac{4\left(x-2\right)-3\left(x+2\right)+12}{\left(x+2\right)\left(x-2\right)}\)
\(=\frac{x-2}{\left(x+2\right)\left(x-2\right)}\)
\(=\frac{1}{x+2}\)