How to rotate camera to target; motor to the angle of the camera

Hi i had a few quesitons that i needed help with. One of the mentor has thrown a challenge for me to make the robot do this in autonomous:

    Rotate the camera(We are using Axis camera provided in 2010 season) to