A bike rental shop charges $8 to rent a bicycle (per person), plus $1.75 for every half hour you ride (per person). If the shop charges you and your friend a total of $26.50, how many hours did each of you ride?