Step 1: Understanding the Concept
For external division of \(P\) and \(Q\) in the ratio \(m:n\), \(R=\frac{mQ-nP}{m-n}\).
Step 2: Substitute
Here \(m=1,\ n=2\), \(P=(1,2,-1)\), \(Q=(-1,1,1)\). So \(R=\frac{(-1,1,1)-2(1,2,-1)}{1-2}\).
Step 3: Calculation
\(=\frac{(-3,-3,3)}{-1}=(3,3,-3)\)
Final Answer:
The position vector is \(3\hat i+3\hat j-3\hat k\).
\[ \boxed{\text{(B) }3\hat{i}+3\hat{j}-3\hat{k}} \]