I have the problem:

The scalar projection of a vector v on a vector W is the length of v on w.

v=3i-4j+k

w=2i-2j+6

Now i thought i could just do this:

(v*w)/|w|

But then i end up with 24/sqrt(31)

but the answer is supposed to be 24/7

I have also tried going the long way by finding the angle and using the cos(x)=a/c to find the length but i end up with the same wrong answer.