A force that is at some angle is the same as the sum of two forces, one horizontal and the other vertical, and whose magnitude is given by the Pythagorean theorem if you were to draw the right triangle with the three vectors. The horizontal and vertical parts are the components. How big any given component is depends on the angle - you can use trig to figure that out.
In your example there are other forces present that are not named. Gravity, for instance, exerts a force downward. The upward component of the force the rope exerts acts against gravity, and makes no contribution to the forward motion. That component would be given by the sine of the angle (400N * sin30). The component of the forward force is given by the cosine (400N * cos30) (using the angle in your drawing)
(400*sin30)2+(400*cos30)2=4002
so you can see the component forces add (as vectors) to be the total force of 400N