\(\frac{1}{c}=\frac{1}{2}.\left(\frac{1}{a}+\frac{1}{b}\right)\)
\(\frac{1}{c}:\frac{1}{2}=\frac{b}{ab}+\frac{a}{ab}\)
\(\frac{2}{c}=\frac{a+b}{ab}\)
\(\Rightarrow2ab=a.\left(b+c\right)\)
\(ab+ab=ac+cb\)
\(ab-cb=ac-ab\)
\(b.\left(a-c\right)=a.\left(c-b\right)\)
\(\Rightarrow\frac{a}{b}=\frac{a-c}{c-b}\)