To start, you'll want to import the library. There are two different options at this time to import. The first one is for GPIO:
import Adafruit_BBIO.GPIO as GPIO
import Adafruit_BBIO.PWM as PWM
When you count the pins, you don't go length-wise, but start at 1, then across to 2, and then back up to the next pin 3, and so on. The following image illustrates this a bit better: