How to use graphs to solve quadratic equations

graph them, and look at where they cross the x axis, those are the roots a and b.

(x-a)(x-b)=0