For some kinds of motors, principally motors with terminal-based connections, basic wiring is self evident. The terminal board itself usually has markings that indicate where line one and line two are to be connected. But what if you need to reverse that motor, use a different (but available) voltage setting, or have a motor that has nothing more than a bunch of color-coded or numbered leads coming out of it?
The power of simple is manifested in that others were able to build from the foundation Einstein identified and defined. They were able to accomplish things they most likely could not have otherwise. We also have experienced this phenomenon. Consider Ohm law. Georg Ohm did the hard work and broke down the complex to a simple law. We use the principles contained in that law as a starting point to understand the complexities of electricity and circuit dynamics.
The PWM Drive (pulse-width modulated drive) to motor power conductors are typically the most intense noise source in a system. Proper implementation of shielding, grounding, splicing, and treatment of excess cable is essential to reducing noise in your system.
For wiring a single-phase motor, the most important objective is to distinguish the starting circuit from the main winding. These two circuits are isolated from one another electrically if the lead wires are separarted and not in contact with each other. Initially, the ohmeter can be used to determine which wire belongs to which circuit as well as checking continuity between leads.