Solve quadratic equations using graphs.