\(\Rightarrow\dfrac{a}{b}\times\left(-\dfrac{2}{7}+\dfrac{5}{7}\right)=\dfrac{5}{7}\\ \Rightarrow\dfrac{a}{b}\times\dfrac{3}{7}=\dfrac{5}{7}\\ \Rightarrow\dfrac{a}{b}=\dfrac{5}{7}:\dfrac{3}{7}\\ \Rightarrow\dfrac{a}{b}=\dfrac{5}{3}\\ \Rightarrow a=5;b=3\)
\(=>\dfrac{a}{b}\times\left(-\dfrac{2}{7}+\dfrac{5}{7}\right)=\dfrac{5}{7}\)
\(=>\dfrac{a}{b}\times\dfrac{3}{7}=\dfrac{5}{7}=>\dfrac{a}{b}=\dfrac{5}{7}:\dfrac{3}{7}=\dfrac{5}{3}\)
vậy \(\dfrac{a}{b}=\dfrac{5}{3}\)