6. Divide voltage half

Using two resistors, design a voltage divider so that output voltage VOUT is half of the input voltage VIN.

The circuit must maintain this ratio as VIN changes.

Example test cases:

VINExpected VOUT
5 V≈2.5 V
8 V≈4 V
12 V≈6 V