The correct option is C 6
Let A≡(1,1) and B≡(2,4)
Let point C divides A and B in the ratio 3:2 internally, then
C≡(3⋅2+2⋅13+2,3⋅4+2⋅13+2)
⇒C≡(85,145)
Let point C divides A and B in the ratio 3:2 externally, then
C≡(3⋅2−2⋅13−2,3⋅4−2⋅13−2)
⇒C≡(4,10)
As the point C lies on the line 2x+y=k, then
2×85+145=k
⇒k=305⇒k=6
or 2×4+10=k
⇒k=18