the wiring diagram for an electrical device with four wires and two plugs on each side