reading analogpin to servo position

Unfortunately my spare time is limited. This project has a deadline of approximately 2 weeks. While I intend to continue learning this c++ language, I'm sure it will take much longer than the few hours a week I have to learn what I need.