A curve has dydx=3x2+2ax\displaystyle \frac{dy}{dx}=3x^2+2axdxdy=3x2+2ax. It passes through (1,4)(1,4)(1,4) and (2,9)(2,9)(2,9). Find a a\,a and the equation of the curve.