a: Ta có: |x+4|=1
=>x+4=1 hoặc x+4=-1
=>x=-3(loại) hoặc x=-5
Khi x=-5 thì \(A=\dfrac{\left(-5\right)^2-5}{3\left(-5+3\right)}=\dfrac{20}{3\cdot\left(-2\right)}=\dfrac{-10}{3}\)
b: \(B=\dfrac{x-1+x+1-3+x}{\left(x-1\right)\left(x+1\right)}=\dfrac{3x-3}{\left(x-1\right)\left(x+1\right)}=\dfrac{3}{x+1}\)