Concept:If a curve cuts the x-axis at x=−2 and x=3, then x=−2 and x=3 are the roots of its equation.Explanation:When y=0, the given values are x=−2 and x=3.So the factors of the equation are (x+2) and (x−3).Therefore, (x+2)(x−3)=0.Expand: x2−3x+2x−6=0.Simplify: x2−x−6=0.Hence, the required equation of the curve is y=x2−x−6.Answer:Option D: y=x2−x−6