We know that a parabola is of the form $f(x) =ax^2+bx+c=0$. We can find the roots of the equation by using the quadratic formula:
$$
r_{1,2} = \frac{-b \pm \sqrt{b^2-4ac}}{2a} = \frac{-b \pm \sqrt{\Delta}}{2a}
$$
Suppose that a parabola $\mathscr{P}$ has two roots $r_1, r_2$ then the midpoint of the parabola is $x_1 = -\frac{b}{2a}$, which is also the axis of symmetry of the parabola. To see this, we rewrite the parabolaformula as:
$$
f(x) = a(x-e)^2 +k
$$
where $$
e = -\frac{b}{2c}, \:\:k= \frac{4ac-b^2}{4a}
$$
(you can check for yourself that these are equivalent). Now it is clear, from the square, that $f$ is symmetric around the point $e = -\frac{b}{2a}$.
Because of the symmetry, the distance from the roots to $x_{\text{1}}$ must be constant.
We are considering a parabola with two roots, thus $\Delta>0$. The roots are then:
$$
r_1 = \frac{-b + \sqrt{\Delta}}{2a}, \:\: r_2 = \frac{-b - \sqrt{\Delta}}{2a}
$$
so the distance from the midpoint $x_1$ to the roots is:
\begin{align*}
d_1 &= \left|x_1 - r_1 \right| = \left| - \frac{b}{2a} - \frac{-b + \sqrt{\Delta}}{2a}\right| = \frac{\sqrt{\Delta}}{2|a|} \\
d_2 &= \left| x_1 - r_2 \right| = \left| - \frac{b}{2a} - \frac{-b - \sqrt{\Delta}}{2a} \right| = \frac{\sqrt{\Delta}}{2|a|}
\end{align*}
so the distance between the roots and the midpoint is, in both cases, equal to $\frac{\sqrt{\Delta}}{2a}$