The Wind Triangle
The effect of wind on an aircraft's movement is most easily understood and solved by vectors and vector triangles.
If we want to track over the direct route from A to B we will have to determine the heading to fly that will provide the necessary crosswind correction angle to keep us on direct track. Remember that velocity vectors have both speed and direction. In the wind triangle we have some knowns, and two unknowns we want to determine.