$6.3 x^{2}-k x+4$ when divided by $3 x-1$ leaves a remainder of 3. Then, $k$ is ( ).
(A) -2
(B) 2
(C) 4
(D) 9
6. (C).



Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.