We know that for two vectors
For the given problem
This has already been calculated but repeated for the sake of clarity.
Now we know that Triangle law of vector addition states that when two sides of a triangle represent two vectors in magnitude and direction taken in same order then third side of that triangle gives us the magnitude and direction the resultant of the vectors.
As shown in the figure above, when a vector parallel to