A cashier at Giorgio's Grocery Store gets paid $8 per hour for shifts of 6 hours or less and $12 per hour for working shifts over 6 hours long. Which function best represents this situation?