Simplify (x + 3)² − 9 and the solver returns x² + 6x. The +9 the square produces and the −9 parked outside cancel, which is exactly the move completing the square makes in reverse: x² + 6x is one step away from (x + 3)² − 9.
The same cancellation gives you the roots. Solving x² + 6x = 0 returns x₁ = 0, x₂ = -6, symmetric about x = -3 — because this parabola is the unshifted y = x² slid three units left and nine units down.
Answer
x² + 6x
How to read it
The solver's simplified line for (x + 3)² − 9; the constants cancel, so the curve passes through the origin.
Source
Al-Khwarizmi's Al-jabr (c. 820 CE) solved these equations by completing the square; the method is standard school algebra
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.