b.
\(\dfrac{x+5}{x-1}-\dfrac{x+1}{x-3}=\dfrac{-8}{\left(x-1\right)\left(x-3\right)}\\ \Leftrightarrow\dfrac{x^2+2x-15}{\left(x-1\right)\left(x-3\right)}-\dfrac{x^2-1}{\left(x-1\right)\left(x-3\right)}=\dfrac{-8}{\left(x-1\right)\left(x-3\right)}\\ \Rightarrow x^2+2x-15-x^2+1=0\\ \Leftrightarrow2x-14=0\\ \Leftrightarrow x=7\)
Vậy x = 7
b.
\(\dfrac{x+5}{x-1}-\dfrac{x+1}{x-3}=\dfrac{-8}{\left(x-1\right)\left(x-3\right)}\\ \Leftrightarrow\dfrac{x^2+2x-15}{\left(x-1\right)\left(x-3\right)}-\dfrac{x^2-1}{\left(x-1\right)\left(x-3\right)}=\dfrac{-8}{\left(x-1\right)\left(x-3\right)}\\ \Rightarrow x^2+2x-15-x^2+1=-8\\ \Leftrightarrow2x-14=-8\\ \Leftrightarrow2x-6=0\\ \Leftrightarrow x=3\)