Novice Needs Assistance emulating POT with Arduino

Look at this:-