Okay, if I squint my eyes and ignore that you have not properly used bracketing symbols, I agree that:
$$f'(c)=2c+\frac{\left(c^2-b^2\right)2a^2c-a^2c^2(2c)}{\left(c^2-b^2\right)^2}=0$$
Now, given that $c\ne0$, we may divide through by $2c$ to obtain:
$$1+\frac{\left(c^2-b^2\right)a^2-a^2c^2}{\left(c^2-b^2\right)^2}=0$$
Next, let's multiply through by $$\left(c^2-b^2\right)^2$$. We know that if $c=b$ then the $x$-intercept would be at infinity, and so that is certainly not the minimum we are after, and so carrying this out we now obtain:
$$\left(c^2-b^2\right)^2+\left(c^2-b^2\right)a^2-a^2c^2=0$$
If we distribute in the middle term, we get:
$$\left(c^2-b^2\right)^2+a^2c^2-a^2b^2-a^2c^2=0$$
Combine like terms...
$$\left(c^2-b^2\right)^2-a^2b^2=0$$
Now, factor as the difference of squares:
$$\left(c^2-b^2+ab\right)\left(c^2-b^2-ab\right)=0$$
Now, from this we find the following implication:
$$c^2=b^2\pm ab$$
Now, we know that $b^2<c^2$ and so we must have:
$$c^2=b^2+ab$$
Now, going back to our objective function, and substituting for $c^2$, we obtain:
$$f=b^2+ab+\frac{a^2\left(b^2+ab\right)}{b^2+ab-b^2}$$
Factor:
$$f=\left(b^2+ab\right)\left(1+\frac{a^2}{ab}\right)$$
$$f=b(a+b)\left(\frac{a+b}{b}\right)=(a+b)^2$$
Now, since $f$ is the square of the distance $D$ we are minimizing, we then conclude:
$$D_{\min}=\sqrt{f}=a+b$$