LDR comparison question

I am trying to compare 2 ldr analog inputs and then map them to a servo. This is going to be use to track the sun for a solar panel. If anyone would help me with the code I will give them one very humble "thank you".

Google :

http://www.instructables.com/id/Arduino-Solar-Tracker/step4/The-Code/

Thank you