Helen rented a kayak at the lake. There is a charge of $10 as an initial fee and then $2 an hour for every hour that she uses the kayak. If the total charge is $22, how many hours did she kayak?