Hello everyone!
My intentions are to use arduino as an element between sensor and sensor gauges for input and output resistance. The problem is that aftermarket fuel gauge and coolant temp. gauge should be wired to original fuel and collant temp sensors (sensor and gauge resistance ranges are not equal).
Both fuel level and temp. sensors are simple rhesistors (one pin to ground, one pin to gauge) with resistance ranges as seen in the picture below (also there you can see my wiring plan):

Electronics is not my profession, therefore the first question should be about how to wire sensor rheostats to Arduino for measuring real life measurements (ohms)?
I started coding with this simple code example of Analog potentiometer input and output to serial monitor:
void setup() {
Serial.begin(9600);
}
void loop() {
int sensorValue = analogRead(A0); //this will translate input resistance to values with a range of 0-1023:
Serial.println(sensorValue);
}
Step 2: Translate range of 0-1023 to let's say 50 to 500.
Step 3: Make this modified range values linear and dependant to received resistance measurements from analog in
Step 4: Translate range 50-500 to real resistance values and output them to assigned analog output.
Will be glad for a helpful hand from users on coding steps 2 to 4.
Thanks in advance!
Krists