Help with the Double Fuel Gauge Project

So I have to create something like this? (see the below illustration)

Both voltage dividers have to bring 13.8 volts down to maximum 5?

EDIT: Saw your post right now, thank you very much!