A voltage divider uses two resistor drops to make a node voltage. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
A divider is two resistors in series
The output node sits between the top resistor and the bottom resistor.
output node is between the two drops
Compute the series current
The source is 12 volts. The resistors are 2 ohm and 4 ohm, so the current is 2 amperes.
I=2ohm+4ohm12V=2A
Compute the two drops
The top resistor drops 4 volts. The bottom resistor drops 8 volts, and that bottom drop is the output voltage.
Vout=Vbottom=8V
The output is the bottom share
Keep the source at 12 volts. The output follows the fraction of total resistance below the output node. The diagram shows the middle row.