Polynomials & Rational Functions

Food for thought

Can you find a cubic and quadratic graph that both pass through the $x$-axis at $x=3$?