Here you can explore what the parameters are doing, and also change between different forms. Link back.
This will plot:
f (x)=a(x-p)(x-q)
a:
b:
c: