Issue with an LM35 sensor and LCD backlight

I don't remember where I got the formula, but I think it's fairly correct.
What kind of potentiometer do I need if my power supply is 9V, and how will I know what kind of resistor to get based on it?