Solve for k x=3y^2+ky