Quadratic equation solutions with a circle and a line

Move sliders for p and q to construct the solutions to the quadratic equation. The x-coordinates of the intersections are the solutions.