Background
Recently, I have been factoring quadratic equation of the form $$ x^2 + ax + b $$ into $$ (x+y) \cdot (x+z) $$
e.g. From $x^2 + 3528x + 63180$ to $(x+3510) \cdot (x+18)$
Normally, it is possible to obtain $y$ and $z$ by looking into every factor of $b$, and find 2 of them, where there product is $b$ and their sum is $a$.
However, I find this method too tedious, especially when dealing with numbers that are hard or impossible to get its factors. So, I decided to use equations to directly obtain $y$ and $z$ given $a$ and $b$.
Question
According to the scenario,
$$ y+z=a $$ $$ y \cdot z = b $$
and so, how do I solve this system of equations, so that I get
$$ y = \frac{-\sqrt{a^2 - 4 \cdot b} + a}{2} \, \text{and} \, z = \frac{\sqrt{a^2 - 4 \cdot b} + a}{2}$$ $$ \text{or} \, y = \frac{\sqrt{a^2 - 4 \cdot b} + a}{2} \, \text{and} \, z = \frac{-\sqrt{a^2 - 4 \cdot b} + a}{2}$$ ?