\(\dfrac{1}{c}=\dfrac{1}{2}\left(\dfrac{1}{a}+\dfrac{1}{b}\right)\\ \Rightarrow\dfrac{1}{c}=\dfrac{1}{2a}+\dfrac{1}{2b}\\ \Rightarrow\dfrac{1}{c}=\dfrac{2a+2b}{4ab}\\ \Rightarrow2ac+2bc=4ab\\ \Rightarrow ac+bc=2ab\\ \Rightarrow ac-ab=ab-bc\\ \Rightarrow a\left(c-b\right)=b\left(a-c\right)\\ \Rightarrow\dfrac{a}{b}=\dfrac{a-c}{c-b}\)