make a full analysis of algebraic equation of y=(x-2)^2(x^2-9)

well,

y = (x-2)^2 (x-3)(x+3)

so, 4th degree polynomial, roots at 2,3,-3

tangent to x-axis from below at x=2
opens upward on both sides