A divider must meet two requirements simultaneously: a 4 V output from 12 V and 1 mA drawn from the source. First choose the total resistance from the current requirement, then divide it to obtain the voltage ratio.
VOUT = 4 V, the lower resistor must receive one-third of the supply drop. Therefore ; the upper resistor is R1 = 8 kΩ.R1 and R2 in series after the existing I_IN ammeter. VOUT measures the junction between them, and the bottom of R2 goes to GND.Set VIN to 6 V, 9 V, and 12 V. Observe the expected (VOUT, I_IN) pairs: (2 V, 0.5 mA), (3 V, 0.75 mA), and (4 V, 1 mA).