Find the position vector of a point R which divides the line joining two points P and Q whose position vectors are respectively, in the ration 2:1
(i) internally
(ii) externally