Learn first
Circuits need a complete path
An electric circuit has a path through which charge can flow. Current is charge flow per time. Voltage is a potential difference. Resistance limits current in a stated model.
How to work it out Check the complete path, components, units, and model assumptions. A gap can stop current; a diagram alone does not prove a real circuit is safe to build.
A separate example In a separate ideal series circuit, opening a switch breaks the only path.
A, B and incoming C are bits. Find X = A XOR B; Sum = X XOR C; G = A AND B; P = X AND C; Carry = G OR P. XOR needs differing inputs, AND needs both ones and inclusive OR needs at least one. Check A + B + C = 2 x Carry + Sum. For two columns, begin at the ones place and pass its Carry to the twos column as C. Keep the last carry as the fours bit. These are ideal logical bits, not wiring instructions.
Worked example
With A = 0, B = 0, C = 1, X = 0, Sum = 1, G = 0, P = 0 and Carry = 0. Incoming C is 1, but outgoing Carry is 0. For binary 10 + 10 with initial C = 0: the ones column gives 0 with no carry; the twos column totals two, leaving a fours bit. The complete result is 100, meaning four.