Factorise the equation to find the roots, order, then plot them to draw.
For Example, (x-2)(x-3) = y & increasing means to plot (2, 3)
(x-3)(x-6) = y & decreasing means to plot (6, 3)
Have Fun...