voltage divider for temp sensor

It is ohms law.
Voltage = Current times Resistance
you can rearrange it so that if you know any two you can find the third.