The gradient function of a curve is given by dydx=x2-8x+2. If the curve passes through the point ( 0,2) find its equation.