Since the curve cuts the x-axis at x = -2 and x = 3,
(x + 2)(x - 3) = 0
x2−3x+2x−6x^2 - 3x + 2x - 6x2−3x+2x−6 = 0
x2−x−6x^2 - x - 6x2−x−6 = 0
Hence, the equation of the curve is
y = x2−x−6x^2 - x - 6x2−x−6