Solve the quadratic equation graphically