The sketch for the two quadratic equations are attahed
How to sketch the equation of the polynomial
The equation of quadratic polynomial with equal roots can be written using the formula
f(x) = a (x - p) (x - q)
where
P, and q are the zeros
a is the leading coefficients
For equal roots
say p = q = 3 and a = 1
f(x) = a (x - p) (x - q)
f(x) = (x - 3) (x - 3)
For unequal roots
say p = -3, q = 3 and a = 5
f(x) = 5 (x + 3) (x - 3)