My friend asked me to help him with his homework, and I think I might have forgotten how to do it

They were all like

"Find a vector with given magnitude and in the same direction as the given vector"

So I think what you would do is this

Given the position vector

$\displaystyle <a,b,c>$

and the new vector in the same position must be of magnitude $\displaystyle d$

Would I just do this

the new vector must be of the form

$\displaystyle \varpi<a,b,c>$

where $\displaystyle \varpi$ is an abritrary constant, so now I just have to find that constant such that the new magnitude is

Would I do this by solving

$\displaystyle d=\sqrt{(a\varpi)^2+(b\varpi)^2+(c\varpi)^2}$

For $\displaystyle \varpi$?