Arduino Wireless Protoshield and Accelerometer and Gyro combo

Hello,

I am trying to connect my Triple Axis Accelerometer and Gyro combo to my Arduino using the Wireless protoshield prototyping space. I am having trouble understanding how I would access these pins using the arduino program. I attached a picture of the setup below.