In the diagram below, a 2-
The common terminal of the second 3-
Diagrams shown on this page are simplified for clarity. Electrical outlet boxes can have numerous NM cables going in and out. See Actual Switch Box Wiring.
Ground connection diagram is shown separately.