i) We have
dv/dt = (dv/dx)*(dx/dt) (chain rule)
= (dv/dx)*v = v*(dv/dx) (as dx/dt = v).
ii) We have dv/dt = kv, so from the first part, v*dv/dx = kv.
It follows that dv/dx = k, so v = kx + C for some constant C.
When x = 0, v = 7, so C = 7. So v = kx + 7. When x = 3, v = 13, so 13 = 3k + 7...