\(a,ĐK:x^2-1=\left(x-1\right)\left(x+1\right)\ne0\Leftrightarrow x\ne\pm1\\ \dfrac{3x+3}{x^2-1}=\dfrac{3\left(x+1\right)}{\left(x-1\right)\left(x+1\right)}=\dfrac{3}{x-1}=2\\ \Leftrightarrow x-1=\dfrac{3}{2}\Leftrightarrow x=\dfrac{5}{2}\left(tm\right)\\ b,\dfrac{3}{x-1}\in Z\\ \Leftrightarrow x-1\inƯ\left(3\right)=\left\{-3;-1;1;3\right\}\\ \Leftrightarrow x\in\left\{-2;0;2;4\right\}\left(tm\right)\)