Batt meter

Vo=Vin * R1/(R1+R2)

Vin==> >----
|
|
R1 = [10K]
|
----------------------------> Vo
|
|
R2 = [5k]
|
|
GND

Let Vin = 13.5Vdc
Let Vo = 4.5V dc
Let R1 = 10k
Solve for R2:

Then
Vo= 4.5V = 13.5V * 10k / (10k +R2)
=[ 13.5R2/(10k+R2) ] = 4.5V
4.5
(10k +R2) = 13.5R2
45k + 4.5
R2 = 13.5*R2
45k= (13.5-4.5)R2
45k = 9
R2
R2 =5k

Voltage divider to output 4.5Vdc with input of 13.5Vdc = 10k resistor connected to Vin (13.5V battery), 5k resistor connected to GND. Vout of voltage divider taken in the middle where the 10k resistor connects to the 5k resistor.