The gradient function of a curve is $\displaystyle kx^2-x,$ where $\displaystyle k$ is constant.The equation of the normal to the curve at point $\displaystyle (1,-2)$ is $\displaystyle 5y+x=7$..

a)Find the value of $\displaystyle k$

b)the equation of the curve.