\(\dfrac{x}{x+2}+\dfrac{7x-16}{\left(x+2\right)\left(4x-7\right)}\left(dkxd:x\ne-2;x\ne\dfrac{7}{4}\right)\)
\(=\dfrac{x\left(4x-7\right)+7x-16}{\left(x+2\right)\left(4x-7\right)}\)
\(=\dfrac{4x^2-7x+7x-16}{\left(x+2\right)\left(4x-7\right)}\)
\(=\dfrac{4x^2-16}{\left(x+2\right)\left(4x-7\right)}\)
\(=\dfrac{4\left(x^2-4\right)}{\left(x+2\right)\left(4x-7\right)}\)
\(=\dfrac{4\left(x-2\right)\left(x+2\right)}{\left(x+2\right)\left(4x-7\right)}\)
\(=\dfrac{4\left(x-2\right)}{4x-7}\)
\(=\dfrac{4x-8}{4x-7}\)
===============================
\(\dfrac{x}{x-2}+\dfrac{2}{2-x}\left(dkxd:x\ne2\right)\)
\(=\dfrac{x}{x-2}-\dfrac{2}{x-2}\)
\(=\dfrac{x-2}{x-2}\)
\(=1\)