Ask the solver for the roots of x² + 6x + 5 = 0 and its answer line is x₁ = -1, x₂ = -5 — the two factors of 5 whose sum, with signs flipped, is the middle coefficient.
Check it without an algebra system: (-1)*(-5) is 5, the constant term, and -1 - 5 is -6, the middle coefficient reversed in sign. That is the whole of Viète's relation for a monic quadratic, and it is why (x + 1)(x + 5) is the only factorisation that works.
Answer
x₁ = -1, x₂ = -5
How to read it
The solver's answer line. The product of those two roots is the constant term 5; their sum is -6.
Source
Factoring a monic quadratic is standard school algebra; the sum-and-product relations are François Viète's (1615)
Work it in the calculator
These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.