A curve has gradient function

and passes through the origin and the point (1,2). Find the equation if the curve.

I am not sure, how would I work out the value of k?

=

Is this correct? If so from here, how would I proceed?

I have two unknowns, so unable to put the values of x and y given.