\(a,ĐK:x\ne\pm2\\ A=\dfrac{4x-8+2x+4-5x+6}{\left(x-2\right)\left(x+2\right)}=\dfrac{x+2}{\left(x-2\right)\left(x+2\right)}=\dfrac{1}{x-2}\\ ĐK:x\ne-1;x\ne-2\\ B=\dfrac{x+1}{\left(x+1\right)\left(x+2\right)}=\dfrac{1}{x+2}\\ b,x^2+x=0\Leftrightarrow\left[{}\begin{matrix}x=0\left(tm\right)\\x=-1\left(tm\right)\end{matrix}\right.\\ \forall x=0\Leftrightarrow A=\dfrac{1}{0-2}=-\dfrac{1}{2}\\ \forall x=-1\Leftrightarrow A=\dfrac{1}{-1-2}=-\dfrac{1}{3}\)
\(x^2+2x=0\Leftrightarrow\left[{}\begin{matrix}x=0\left(tm\right)\\x=-2\left(ktm\right)\end{matrix}\right.\Leftrightarrow x=0\\ \Leftrightarrow B=\dfrac{1}{0+2}=\dfrac{1}{2}\)