Strictly, I've taken a shortcut there cause I've done these sort of questions before. If I wanted to give my full working, it'd be more like this:
The vector OP is in the direction of our given vector. Therefore, OP is of the form X(i-2j+3k)= Xi-2Xj+3Xk, where X is a variable scalar. Therefore, the magnitude OP is:
sqrt(X^2 + 4X^2 +9X^2)=sqrt(14X^2)=Xsqrt(14)
We want to have magnitude 3, so therefore Xsqrt(14)=3
rearranging gives X=3/sqrt(14)
We now know what value our variable scalar must take to give our vector magnitude 3, so we plug it back in to our equation for OP to give the aforementioned answer