\(3\left(a-b\right)=a+b=\dfrac{a}{b}\\ \Rightarrow3a-3b=a+b\\ \Rightarrow2a-4b=0\\ \Rightarrow2\left(a-2b\right)=0\Rightarrow a-2b=0\Rightarrow a=2b\)
Với \(a=2b\)
\(3\left(a-b\right)=\dfrac{a}{b}\Rightarrow3\left(2b-b\right)=\dfrac{2b}{b}\\ \Rightarrow3b=2\Rightarrow b=\dfrac{2}{3}\\ \Rightarrow a=2\cdot\dfrac{2}{3}=\dfrac{4}{3}\)