The given answers are good, but let me show you the "typical" way of proving the original formula. The goal is to find the roots of the quadratic, so that:
$$Ax^2 + Bx + C = 0$$
The $C$ constant is a little messy, so let's move it to the other side:
$$Ax^2 + Bx = -C $$
Now, on the left-hand side, we can "complete the square", i.e., find out a value that will allow us to write the left-hand side as $(\_ + \_)^2$. This is easiest to do if the $x^2$ is by itself. So we'll divide both sides by $A$ before continuing.
$$x^2 + \frac{B}{A}x = -\frac{C}{A}$$
Now, when completing the square, the middle term is key. The middle term is twice the left-hand times the right-hand side. Here, since we only have $x^2$ on the left, the left-hand side of our square will obviously be $x$. The middle term is $\frac{B}{A}x$. The $x$ obviously comes from the left-hand side of our square. $\frac{B}{A}$ comes from the right side, but, remember, the middle term gets doubled in squares. Therefore, the right-hand side of the square should be $\frac{B}{2A}$, which means that the right-hand term will be the square of that, or $\frac{B^2}{4A^2}$. If we add this term to both sides we get:
$$ x^2 + \frac{B}{A}x + \frac{B^2}{4A^2} = -\frac{C}{A} + \frac{B^2}{4A^2} $$
The left-hand side is now a square. So we can simplify it to:
$$ \left(x + \frac{B}{2A}\right)^2 = -\frac{C}{A} + \frac{B^2}{4A^2}$$
Square-rooting both sides gets:
$$ x + \frac{B}{2A} = \pm \sqrt{-\frac{C}{A} + \frac{B^2}{4A^2}} $$
Subtracting $\frac{B}{2A}$ from both sides gets:
$$ x = \pm \sqrt{-\frac{C}{A} + \frac{B^2}{4A^2}} - \frac{B}{2A} $$
This is a quadratic formula, but not in the form we are used to seeing. However, it is just a matter of rearranging to get the quadratic formula.
First, let's simplify the interior of the square root. We will start by putting everything over the same denominator ($4A^2$).
$$ x = \pm \sqrt{\frac{-4AC + B^2}{4A^2}} - \frac{B}{2A} $$
The bottom part of the fraction is actually a square, so it can be pulled out of the square root.
$$ x = \frac{1}{2A} \pm \sqrt{-4AC + B^2} - \frac{B}{2A} \\
x = \frac{\pm \sqrt{-4AC + B^2}}{2A} - \frac{B}{2A} \\
x = \frac{\pm \sqrt{-4AC + B^2} - B}{2A} $$
This is the formula, just in the wrong order. Changing the order (both inside and outside the square root) yields:
$$ x = \frac{-B \pm \sqrt{B^2 - 4AC}}{2A} $$