6. If positive integers $x$ and $y$ make $\frac{x y^{2}}{x+y}$ a prime number, then $x+y$ has ( ) possible values.
(A) 1
(B) 2
(C) 3
(D) 4
B

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