Vector resolving can be tricky... I've made a couple of videos that may be helpful in understanding the solution to this problem:
[video="youtube;_Avje8lzC5c"]https://www.youtube.com/watch?v=_Avje8lzC5c[/video]
If you find these helpful, see the links in my signature for more videos that I've made for my students.