The document solves a quadratic equation with the formula x^2 + 5x + 4 and finds the two roots to be -1 and -4. It then graphs the quadratic function f(x)=x^2 - 4x + 3 by calculating the output for inputs from -5 to 9 and plotting the points.